]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sctp: Unmask upper DSCP bits in sctp_v4_get_dst()
authorIdo Schimmel <idosch@nvidia.com>
Thu, 5 Sep 2024 16:51:40 +0000 (19:51 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Sep 2024 13:14:53 +0000 (14:14 +0100)
commit8b6d13cc8b3855862af583fed83d60b1df6f9ba2
tree4d15bdd854d0c5362fb9dc1657f7c763d04bd0b9
parent2c60fc9ca21636e4bbb30357562dc1abb577f5fb
sctp: Unmask upper DSCP bits in sctp_v4_get_dst()

Unmask the upper DSCP bits when calling ip_route_output_key() so that in
the future it could perform the FIB lookup according to the full DSCP
value.

Note that the 'tos' variable holds the full DS field.

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Guillaume Nault <gnault@redhat.com>
Reviewed-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/protocol.c