diff options
author | Ido Schimmel <idosch@nvidia.com> | 2024-08-21 15:52:43 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-08-23 02:59:57 +0300 |
commit | c1ae5ca69b691a7403e85047382fc4fd6a69ee9f (patch) | |
tree | 7dd1cdd6ea0dccae2ace46917e4c62a38de1113c /samples/livepatch | |
parent | be2e9089cb34dfc958d8383a755bde3681a817b2 (diff) | |
download | linux-c1ae5ca69b691a7403e85047382fc4fd6a69ee9f.tar.xz |
netfilter: rpfilter: Unmask upper DSCP bits
The rpfilter match performs a reverse path filter test on a packet by
performing a FIB lookup with the source and destination addresses
swapped.
Unmask the upper DSCP bits of the DS field of the tested packet so that
in the future the FIB lookup could be performed according to the full
DSCP value.
No functional changes intended since the upper DSCP bits are masked when
comparing against the TOS selectors in FIB rules and routes.
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Guillaume Nault <gnault@redhat.com>
Acked-by: Florian Westphal <fw@strlen.de>
Reviewed-by: David Ahern <dsahern@kernel.org>
Link: https://patch.msgid.link/20240821125251.1571445-5-idosch@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'samples/livepatch')
0 files changed, 0 insertions, 0 deletions