]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bpf: lwtunnel: Unmask upper DSCP bits in bpf_lwt_xmit_reroute()
authorIdo Schimmel <idosch@nvidia.com>
Thu, 5 Sep 2024 16:51:31 +0000 (19:51 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Sep 2024 13:14:52 +0000 (14:14 +0100)
commitb3899830aa47333fa73e7f23eddc856003fd8bda
tree5e27cb8deb9a3aeca3adfceb4ae3e8ec558f7495
parent25376a890119b616d5982c8cb59f805138ab81fa
bpf: lwtunnel: Unmask upper DSCP bits in bpf_lwt_xmit_reroute()

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.

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Guillaume Nault <gnault@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/lwt_bpf.c