diff options
author | Ido Schimmel <[email protected]> | 2024-08-21 15:52:42 +0300 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-08-22 16:59:57 -0700 |
commit | be2e9089cb34dfc958d8383a755bde3681a817b2 (patch) | |
tree | da57f622eec0a4f868c37ed8f6a68ff6c69ac985 /tools/perf/scripts/python/netdev-times.py | |
parent | bc52a4eecefdd686065f8f68ba9e1c83d4ce6f14 (diff) |
ipv4: Unmask upper DSCP bits when constructing the Record Route option
The Record Route IP option records the addresses of the routers that
routed the packet. In the case of forwarded packets, the kernel performs
a route lookup via fib_lookup() and fills in the preferred source
address of the matched route.
Unmask the upper DSCP bits when performing the lookup so that in the
future the 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 <[email protected]>
Reviewed-by: Guillaume Nault <[email protected]>
Acked-by: Florian Westphal <[email protected]>
Reviewed-by: David Ahern <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions