forked from TencentOS/TencentOS-kernel
Merge pull request #244 from xmmgithub/tk4/bpf
net: bpf: fix compile error in bpf_redirect_peer helper
This commit is contained in:
commit
a4ddb27654
|
|
@ -2361,7 +2361,8 @@ out:
|
|||
|
||||
/* Internal, non-exposed redirect flags. */
|
||||
enum {
|
||||
BPF_F_NEIGH = (1ULL << 1),
|
||||
BPF_F_NEIGH = (1ULL << 1),
|
||||
BPF_F_PEER = (1ULL << 2),
|
||||
BPF_F_NEXTHOP = (1ULL << 3),
|
||||
#define BPF_F_REDIRECT_INTERNAL (BPF_F_NEIGH | BPF_F_PEER | BPF_F_NEXTHOP)
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue