commit | 5028027844cfc6168e39650abecd817ba64c9d98 | [log] [tgz] |
---|---|---|
author | John Fastabend <john.fastabend@gmail.com> | Tue Sep 18 09:01:54 2018 -0700 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Sat Sep 22 02:46:42 2018 +0200 |
tree | 190592cc86e20253f0c3220c2bcaeb24e2dd4d5e | |
parent | b05545e15e1ff1d6a6a8593971275f9cc3e6b92b [diff] |
bpf: test_maps, only support ESTABLISHED socks Ensure that sockets added to a sock{map|hash} that is not in the ESTABLISHED state is rejected. Fixes: 1aa12bdf1bfb ("bpf: sockmap, add sock close() hook to remove socks") Signed-off-by: John Fastabend <john.fastabend@gmail.com> Acked-by: Yonghong Song <yhs@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>