summaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorArturo Borrero <arturo.borrero.glez@gmail.com>2014-10-03 14:13:36 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2014-10-03 14:24:35 +0200
commit8da4cc1b10c1aeba090d1d862b17174e4dbd50a4 (patch)
tree6c5c1a76fd427ae17e4fe9578765ff95b67d7e8e /net/core
parent07dcc686fa8f6667dec4696804cdb43a90267b9a (diff)
downloadlinux-8da4cc1b10c1aeba090d1d862b17174e4dbd50a4.tar.gz
linux-8da4cc1b10c1aeba090d1d862b17174e4dbd50a4.tar.bz2
linux-8da4cc1b10c1aeba090d1d862b17174e4dbd50a4.zip
netfilter: nft_masq: register/unregister notifiers on module init/exit
We have to register the notifiers in the masquerade expression from the the module _init and _exit path. This fixes crashes when removing the masquerade rule with no ipt_MASQUERADE support in place (which was masking the problem). Fixes: 9ba1f72 ("netfilter: nf_tables: add new nft_masq expression") Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions