From: Daniel Borkmann Date: Mon, 16 Dec 2013 10:45:00 +0000 (+0100) Subject: bpf_dbg: always close socket in bpf_runnable X-Git-Tag: v3.14-rc1~94^2~471 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b138da62f3ef370bebaaed7385020993bb787ae;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed