netfilter: fix netfilter_net_init() return
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 18 Jul 2017 19:38:56 +0000 (22:38 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Jul 2017 21:50:28 +0000 (14:50 -0700)
commit073dd5ad34b1d3aaadaa7e5e8cbe576d9545f163
treea37a3669f44135c665e27791a54db759fada9d56
parent3e16afd33f8fdad0a39586d670ade3cad67e1360
netfilter: fix netfilter_net_init() return

We accidentally return an uninitialized variable.

Fixes: cf56c2f892a8 ("netfilter: remove old pre-netns era hook api")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/core.c