]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ipv4: fib_rules: Reject flow label attributes
authorIdo Schimmel <idosch@nvidia.com>
Mon, 16 Dec 2024 17:11:54 +0000 (19:11 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 19 Dec 2024 15:02:21 +0000 (16:02 +0100)
commitf0c898d8c279e6cfdf5e25dc04424d518dec1aa4
tree6b7a85047b65e2490a43106f1da78c46936ded03
parentd1d761b3012e99d55d288d435384be606302cb2c
ipv4: fib_rules: Reject flow label attributes

IPv4 FIB rules cannot match on flow label so reject requests that try to
add such rules. Do that in the IPv4 configure callback as the netlink
policy resides in the core and used by both IPv4 and IPv6.

Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Guillaume Nault <gnault@redhat.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
net/ipv4/fib_rules.c