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

af_key: replace BUG_ON on WARN_ON in net_exit hook

parent ee0ab7a2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 = {