diff options
author | John Fastabend <john.fastabend@gmail.com> | 2017-08-15 22:31:58 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-16 11:27:53 -0700 |
commit | b005fd189cec9407b700599e1e80e0552446ee79 (patch) | |
tree | e0b7da0870e0d683955f4d999aafdb71ac63afdb /include/uapi/rdma | |
parent | db5980d804d7158917ad4b9186c78b2a3f1db4ef (diff) | |
download | linux-b005fd189cec9407b700599e1e80e0552446ee79.tar.bz2 |
bpf: introduce new program type for skbs on sockets
A class of programs, run from strparser and soon from a new map type
called sock map, are used with skb as the context but on established
sockets. By creating a specific program type for these we can use
bpf helpers that expect full sockets and get the verifier to ensure
these helpers are not used out of context.
The new type is BPF_PROG_TYPE_SK_SKB. This patch introduces the
infrastructure and type.
Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/rdma')
0 files changed, 0 insertions, 0 deletions