diff options
author | Florian Westphal <fw@strlen.de> | 2015-09-09 03:57:21 +0300 |
---|---|---|
committer | Sasha Levin <sasha.levin@oracle.com> | 2015-10-28 05:13:38 +0300 |
commit | 8bf6c729a8b9ecb4c2dccba2881b9a374daae7a2 (patch) | |
tree | 0453eef1a5f456de5109ed3964541ff4b83b038b /fs | |
parent | 2f6e55943522ae92ea551df7bb31369c304ef0a6 (diff) | |
download | linux-8bf6c729a8b9ecb4c2dccba2881b9a374daae7a2.tar.xz |
netfilter: nf_log: don't zap all loggers on unregister
[ Upstream commit 205ee117d4dc4a11ac3bd9638bb9b2e839f4de9a ]
like nf_log_unset, nf_log_unregister must not reset the list of loggers.
Otherwise, a call to nf_log_unregister() will render loggers of other nf
protocols unusable:
iptables -A INPUT -j LOG
modprobe nf_log_arp ; rmmod nf_log_arp
iptables -A INPUT -j LOG
iptables: No chain/target/match by that name
Fixes: 30e0c6a6be ("netfilter: nf_log: prepare net namespace support for loggers")
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions