]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: helper to pop data from messages
authorJohn Fastabend <john.fastabend@gmail.com>
Mon, 26 Nov 2018 22:16:17 +0000 (14:16 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 28 Nov 2018 21:07:57 +0000 (22:07 +0100)
commit490c0a9dc8781c243852a7b91b8538873c164c1c
tree500458a8fb23f87db2411ad0849f06f05caedb48
parent73d70ad2e127a97c98c2dd9229856be0b6d3199d
bpf: helper to pop data from messages

This adds a BPF SK_MSG program helper so that we can pop data from a
msg. We use this to pop metadata from a previous push data call.

Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
include/uapi/linux/bpf.h
net/core/filter.c
net/ipv4/tcp_bpf.c
net/tls/tls_sw.c