projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ee1362
)
macsec: add rcu_barrier() on module exit
author
Sabrina Dubroca
<sd@queasysnail.net>
Tue, 14 Jun 2016 13:25:14 +0000
(15:25 +0200)
committer
David S. Miller
<davem@davemloft.net>
Wed, 15 Jun 2016 21:47:46 +0000
(14:47 -0700)
Without this, the various uses of call_rcu could cause a kernel panic.
Fixes:
c09440f7dcb3
("macsec: introduce IEEE 802.1AE driver")
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macsec.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/macsec.c
b/drivers/net/macsec.c
index 47ee2c840b55e730a8913b9736e8fdef073574dc..e80736f6acd7726e77768c21e2c3eb6b1744336f 100644
(file)
--- a/
drivers/net/macsec.c
+++ b/
drivers/net/macsec.c
@@
-3361,6
+3361,7
@@
static void __exit macsec_exit(void)
genl_unregister_family(&macsec_fam);
rtnl_link_unregister(&macsec_link_ops);
unregister_netdevice_notifier(&macsec_notifier);
+ rcu_barrier();
}
module_init(macsec_init);