diff options
author | Phil Sutter <phil@nwl.cc> | 2021-04-21 13:34:21 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-04-26 04:20:47 +0300 |
commit | 593268ddf3887362ba8b8998cb85433596a3e8f5 (patch) | |
tree | 9cca69bd1b7fef118f6db888bbf2a17d203e33ec /usr | |
parent | f7163c4882e883fabdafb894176994fd2ade33e2 (diff) | |
download | linux-593268ddf3887362ba8b8998cb85433596a3e8f5.tar.xz |
netfilter: nf_log_syslog: Unset bridge logger in pernet exit
Without this, a stale pointer remains in pernet loggers after module
unload causing a kernel oops during dereference. Easily reproduced by:
| # modprobe nf_log_syslog
| # rmmod nf_log_syslog
| # cat /proc/net/netfilter/nf_log
Fixes: 77ccee96a6742 ("netfilter: nf_log_bridge: merge with nf_log_syslog")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Acked-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions