]> www.infradead.org Git - users/dwmw2/linux.git/commit
ipv6: fib_rules: Add port mask matching
authorIdo Schimmel <idosch@nvidia.com>
Mon, 17 Feb 2025 13:41:05 +0000 (15:41 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 20 Feb 2025 02:43:38 +0000 (18:43 -0800)
commitfc1266a061641ee10feb68ba2c33b85904413606
tree713a32283aee076accea435af171d916671448c3
parent79a4e21584b7d36df51d452f4dc43221b463a26f
ipv6: fib_rules: Add port mask matching

Extend IPv6 FIB rules to match on source and destination ports using a
mask. Note that the mask is only set when not matching on a range.

Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Guillaume Nault <gnault@redhat.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Link: https://patch.msgid.link/20250217134109.311176-5-idosch@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv6/fib6_rules.c