Re: [PATCH net-next] bpf: move bpf csum flag check

2017-12-04 Thread Daniel Borkmann
On 12/04/2017 11:18 PM, William Tu wrote: > trivial move the BPF_F_ZERO_CSUM_TX check right below the > 'flags & BPF_F_DONT_FRAGMENT', so common tun_flags handling > is logically together. > > Signed-off-by: William Tu > Acked-by: Daniel Borkmann Applied to bpf-next, thanks William.

[PATCH net-next] bpf: move bpf csum flag check

2017-12-04 Thread William Tu
trivial move the BPF_F_ZERO_CSUM_TX check right below the 'flags & BPF_F_DONT_FRAGMENT', so common tun_flags handling is logically together. Signed-off-by: William Tu Acked-by: Daniel Borkmann --- net/core/filter.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/net/cor