From dd6acf7c430f6819584651dc5c8de1958300c67d Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Thu, 24 Apr 2014 11:01:11 +0200 Subject: src: PF_BIND/UNBIND is ignored in 3.8 and later There is confusion on what this command actually does and why examples commonly PF_UNBIND at startup. Since these are obsolete document that its not needed starting with Linux 3.8. Signed-off-by: Florian Westphal --- examples/nf-queue.c | 1 + 1 file changed, 1 insertion(+) (limited to 'examples') diff --git a/examples/nf-queue.c b/examples/nf-queue.c index 1f465ad..d6c4b63 100644 --- a/examples/nf-queue.c +++ b/examples/nf-queue.c @@ -136,6 +136,7 @@ int main(int argc, char *argv[]) exit(EXIT_FAILURE); } + /* PF_(UN)BIND is not needed with kernels 3.8 and later */ nlh = nfq_hdr_put(buf, NFQNL_MSG_CONFIG, 0); nfq_nlmsg_cfg_put_cmd(nlh, AF_INET, NFQNL_CFG_CMD_PF_UNBIND); -- cgit v1.2.3