Commit 663faeab authored by Vasily Averin's avatar Vasily Averin Committed by David S. Miller

af_key: replace BUG_ON on WARN_ON in net_exit hook

Signed-off-by: default avatarVasily Averin <[email protected]>
Signed-off-by: default avatarDavid S. Miller <[email protected]>
parent ee0ab7a2
......@@ -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 = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment