]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: move bpf csum flag check
authorWilliam Tu <u9012063@gmail.com>
Mon, 4 Dec 2017 22:18:29 +0000 (14:18 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Mon, 4 Dec 2017 22:22:31 +0000 (23:22 +0100)
commit0e6a51292bafff4d5c609b0c8c209fc5bb88da67
tree22f64a223476b9ac796c5d812f2d57eebc5063c3
parent6ca96c32e25c56d01c9097f7c8ef4da605e76310
bpf: move bpf csum flag check

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 <u9012063@gmail.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
net/core/filter.c