net: fib_rules: Add flow label selector attributes
authorIdo Schimmel <idosch@nvidia.com>
Mon, 16 Dec 2024 17:11:53 +0000 (19:11 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 19 Dec 2024 15:02:21 +0000 (16:02 +0100)
commitd1d761b3012e99d55d288d435384be606302cb2c
tree1f59b015b92a97194b8a201f4553b993027bc265
parent4fefbc66dfb356145633e571475be2459d73ce16
net: fib_rules: Add flow label selector attributes

Add new FIB rule attributes which will allow user space to match on the
IPv6 flow label with a mask. Temporarily set the type of the attributes
to 'NLA_REJECT' while support is being added in the IPv6 code.

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>
include/uapi/linux/fib_rules.h
net/core/fib_rules.c