mirror of
https://github.com/xdp-project/bpf-examples.git
synced 2024-05-06 15:54:53 +00:00
fix: erroneous bitmask operation
In kernel selftest/bpf xdp synproxy has: [0] b6a3451e084 (selftests/bpf: Fix erroneous bitmask operation) sync the fix here. It addresses an issue when xdp synproxy need to handle SYNACK from backend server, see [1]. [0]: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git/commit/?id=b6a3451e0847 [1]: https://lore.kernel.org/xdp-newbies/CAK3+h2z1r69Z5g+qTwCaJzgnD5sv93x67TLJ3gVQ70_nFE0AqQ@mail.gmail.com/T/#t Signed-off-by: Vincent Li <vincent.mc.li@gmail.com>
This commit is contained in:
@ -142,6 +142,7 @@ struct nf_conn {
|
||||
enum ip_conntrack_status {
|
||||
/* Connection is confirmed: originating packet has left box */
|
||||
IPS_CONFIRMED_BIT = 3,
|
||||
IPS_CONFIRMED = (1 << IPS_CONFIRMED_BIT),
|
||||
};
|
||||
|
||||
#endif /* __VMLINUX_NET_H__ */
|
||||
|
Reference in New Issue
Block a user