]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: add csum_diff helper to xdp as well
authorDaniel Borkmann <daniel@iogearbox.net>
Sat, 20 Jan 2018 00:24:30 +0000 (01:24 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Sat, 20 Jan 2018 02:36:59 +0000 (18:36 -0800)
commit2450a6cbff8d94784d147024071f4f85734710ab
tree70f6766ffbde44f6d79bca33727fdb1a4fdb1e63
parentb9046afc22765fcbf524fb14fd52f75fb56f351d
bpf: add csum_diff helper to xdp as well

Useful for porting cls_bpf programs w/o increasing program
complexity limits much at the same time, so add the helper
to XDP as well.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
net/core/filter.c