diff options
author | Guillaume Nault <[email protected]> | 2024-09-11 11:21:05 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-09-12 20:30:15 -0700 |
commit | c471236b2359e6b27388475dd04fff0a5e2bf922 (patch) | |
tree | 1ba50120c4f506e2fbe98d30e4b219f911c67be7 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 45fa29c85117170b0508790f878b13ec6593c888 (diff) |
bareudp: Pull inner IP header on xmit.
Both bareudp_xmit_skb() and bareudp6_xmit_skb() read their skb's inner
IP header to get its ECN value (with ip_tunnel_ecn_encap()). Therefore
we need to ensure that the inner IP header is part of the skb's linear
data.
Fixes: 571912c69f0e ("net: UDP tunnel encapsulation module for tunnelling different protocols like MPLS, IP, NSH etc.")
Signed-off-by: Guillaume Nault <[email protected]>
Reviewed-by: Willem de Bruijn <[email protected]>
Link: https://patch.msgid.link/267328222f0a11519c6de04c640a4f87a38ea9ed.1726046181.git.gnault@redhat.com
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions