summaryrefslogtreecommitdiffstats
path: root/include/linux/filter.h
diff options
context:
space:
mode:
authorJohn Fastabend2017-10-18 16:10:15 +0200
committerDavid S. Miller2017-10-20 14:01:29 +0200
commit435bf0d3f99a164df7e8c30428cef266b91d1d3b (patch)
treea03f823017e2f876a308a8a8a782a14d580b3a82 /include/linux/filter.h
parentsctp: add the missing sock_owned_by_user check in sctp_icmp_redirect (diff)
downloadkernel-qcow2-linux-435bf0d3f99a164df7e8c30428cef266b91d1d3b.tar.gz
kernel-qcow2-linux-435bf0d3f99a164df7e8c30428cef266b91d1d3b.tar.xz
kernel-qcow2-linux-435bf0d3f99a164df7e8c30428cef266b91d1d3b.zip
bpf: enforce TCP only support for sockmap
Only TCP sockets have been tested and at the moment the state change callback only handles TCP sockets. This adds a check to ensure that sockets actually being added are TCP sockets. For net-next we can consider UDP support. Signed-off-by: John Fastabend <john.fastabend@gmail.com> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/filter.h')
0 files changed, 0 insertions, 0 deletions