diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2013-12-16 11:45:00 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-17 17:11:00 -0500 |
commit | 8b138da62f3ef370bebaaed7385020993bb787ae (patch) | |
tree | 38169f4e3cc5897a268209d9c4fdbc0888e01d21 /COPYING | |
parent | 5c509a2edf386a98fea37d49a06abd4da9e227ea (diff) | |
download | linux-8b138da62f3ef370bebaaed7385020993bb787ae.tar.gz linux-8b138da62f3ef370bebaaed7385020993bb787ae.tar.bz2 linux-8b138da62f3ef370bebaaed7385020993bb787ae.zip |
bpf_dbg: always close socket in bpf_runnable
We must not leave the socket intact in bpf_runnable(). The socket
is used to test if the filter code is being accepted by the kernel
or not. So right after we do the setsockopt(2), we need to close
it again.
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions