diff options
author | Vasily Averin <vvs@virtuozzo.com> | 2017-11-12 22:26:53 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-14 15:45:52 +0900 |
commit | 663faeab5c7e205160f9dbeb9a699c5dbdb78ce2 (patch) | |
tree | efa3474a6131abe77888a84ad5ce4de63400c52a /net/key | |
parent | ee0ab7a2b00fdb65e50ed9e252900b29c8fd802f (diff) | |
download | linux-663faeab5c7e205160f9dbeb9a699c5dbdb78ce2.tar.bz2 |
af_key: replace BUG_ON on WARN_ON in net_exit hook
Signed-off-by: Vasily Averin <vvs@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/key')
-rw-r--r-- | net/key/af_key.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/key/af_key.c b/net/key/af_key.c index a00d607e7224..3dffb892d52c 100644 --- a/net/key/af_key.c +++ b/net/key/af_key.c @@ -3845,7 +3845,7 @@ static void __net_exit pfkey_net_exit(struct net *net) struct netns_pfkey *net_pfkey = net_generic(net, pfkey_net_id); pfkey_exit_proc(net); - BUG_ON(!hlist_empty(&net_pfkey->table)); + WARN_ON(!hlist_empty(&net_pfkey->table)); } static struct pernet_operations pfkey_net_ops = { |