projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee0ab7a
)
af_key: replace BUG_ON on WARN_ON in net_exit hook
author
Vasily Averin
<vvs@virtuozzo.com>
Sun, 12 Nov 2017 19:26:53 +0000
(22:26 +0300)
committer
David S. Miller
<davem@davemloft.net>
Tue, 14 Nov 2017 06:45:52 +0000
(15:45 +0900)
Signed-off-by: Vasily Averin <vvs@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/key/af_key.c
patch
|
blob
|
history
diff --git
a/net/key/af_key.c
b/net/key/af_key.c
index a00d607e7224d422e6f3ae3b139bee9706852d7b..3dffb892d52cf191f53e282bff9fb65594605476 100644
(file)
--- 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 = {