diff options
author | Ido Schimmel <idosch@nvidia.com> | 2024-08-29 09:54:52 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-08-31 17:44:51 +0100 |
commit | 356d054a4967e6190ee558b8e839fad3e9db35ec (patch) | |
tree | da8b03096c4d9eef45a025db63d69679a10e2731 /net/sched/cls_basic.c | |
parent | ff95cb5e521b60d046e6571ada697a0977b189c3 (diff) |
ipv4: Unmask upper DSCP bits in get_rttos()
The function is used by a few socket types to retrieve the TOS value
with which to perform the FIB lookup for packets sent through the socket
(flowi4_tos). If a DS field was passed using the IP_TOS control message,
then it is used. Otherwise the one specified via the IP_TOS socket
option.
Unmask the upper DSCP bits so that in the future the lookup could be
performed according to the full DSCP value.
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Guillaume Nault <gnault@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/cls_basic.c')
0 files changed, 0 insertions, 0 deletions