]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitee294d87a7995ebed49abca59ab8bfaeacb74b77
treea37a3669f44135c665e27791a54db759fada9d56
parentecae0c53f9f718443f2e1d60ec64d366c49b4505
netfilter: fix netfilter_net_init() return

We accidentally return an uninitialized variable.

Fixes: 0f643dc94ae3 ("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