diff options
author | Florian Westphal <fw@strlen.de> | 2014-04-24 11:01:11 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2014-04-24 12:01:58 +0200 |
commit | dd6acf7c430f6819584651dc5c8de1958300c67d (patch) | |
tree | db2f5a2edd8b80fcfdd8b9d39b03b70d2cd9f1da /src/nlmsg.c | |
parent | 470a2bb2bbf240c978d17985edc2272bdd21e3ca (diff) |
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 <fw@strlen.de>
Diffstat (limited to 'src/nlmsg.c')
-rw-r--r-- | src/nlmsg.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nlmsg.c b/src/nlmsg.c index 81e170e..aebdd5e 100644 --- a/src/nlmsg.c +++ b/src/nlmsg.c @@ -77,10 +77,13 @@ EXPORT_SYMBOL(nfq_nlmsg_verdict_put_pkt); * subsystem is working. * - NFQNL_CFG_CMD_BIND: Binds the program to a specific queue. * - NFQNL_CFG_CMD_UNBIND: Unbinds the program to a specifiq queue. + * + * Obsolete commands: * - NFQNL_CFG_CMD_PF_BIND: Binds to process packets belonging to the given * protocol family (ie. PF_INET, PF_INET6, etc). * - NFQNL_CFG_CMD_PF_UNBIND: Unbinds from processing packets belonging to the - * given protocol family. + * given protocol family. Both commands are ignored by Linux kernel 3.8 and + * later versions. */ void nfq_nlmsg_cfg_put_cmd(struct nlmsghdr *nlh, uint16_t pf, uint8_t cmd) { |