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)
commit7246d8ed4dcce23f7509949a77be15fa9f0e3d28
tree500458a8fb23f87db2411ad0849f06f05caedb48
parent17d95e4225bf24ef3399d9e71c512311259d1ac9
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