diff options
author | 2025-02-20 10:05:22 +0200 | |
---|---|---|
committer | 2025-02-21 16:08:48 -0800 | |
commit | c29165c272b86ca4342cba9dfcf8444a5b98863e (patch) | |
tree | a6372721909ebe2dae9345637bbac8a62214cd1f /net/core/fib_rules.c | |
parent | ipv4: fib_rules: Add DSCP mask matching (diff) | |
download | wireguard-linux-c29165c272b86ca4342cba9dfcf8444a5b98863e.tar.xz wireguard-linux-c29165c272b86ca4342cba9dfcf8444a5b98863e.zip |
ipv6: fib_rules: Add DSCP mask matching
Extend IPv6 FIB rules to match on DSCP using a mask. Unlike IPv4, also
initialize the DSCP mask when a non-zero 'tos' is specified as there is
no difference in matching between 'tos' and 'dscp'. As a side effect,
this makes it possible to match on 'dscp 0', like in IPv4.
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Guillaume Nault <gnault@redhat.com>
Link: https://patch.msgid.link/20250220080525.831924-4-idosch@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions