From: Arturo Borrero Date: Fri, 3 Oct 2014 12:13:36 +0000 (+0200) Subject: netfilter: nft_masq: register/unregister notifiers on module init/exit X-Git-Tag: fixes-against-v3.18-rc2~144^2~40^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8da4cc1b10c1aeba090d1d862b17174e4dbd50a4;p=pandora-kernel.git 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 Signed-off-by: Pablo Neira Ayuso --- Reading git-diff-tree failed