]> git.ipfire.org Git - thirdparty/linux.git/commit
selftests/bpf: remove xdp_synproxy IP_DF check
authorVincent Li <vincent.mc.li@gmail.com>
Fri, 25 Oct 2024 03:19:52 +0000 (03:19 +0000)
committerMartin KaFai Lau <martin.lau@kernel.org>
Tue, 29 Oct 2024 18:52:55 +0000 (11:52 -0700)
commit0ab7cd1f18648ab50c4685553ca92e8cdc4a42da
treef60dd637e212c7043c1f0ea2ad9a9a7d7ca5620c
parent97e90539983ec466e663c04b83908b01f601d451
selftests/bpf: remove xdp_synproxy IP_DF check

In real world production websites, the IP_DF flag
is not always set for each packet from these websites.
the IP_DF flag check breaks Internet connection to
these websites for home based firewall like BPFire
when XDP synproxy program is attached to firewall
Internet facing side interface. see [0]

[0] https://github.com/vincentmli/BPFire/issues/59

Signed-off-by: Vincent Li <vincent.mc.li@gmail.com>
Link: https://lore.kernel.org/r/20241025031952.1351150-1-vincent.mc.li@gmail.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
tools/testing/selftests/bpf/progs/xdp_synproxy_kern.c