macsec: add rcu_barrier() on module exit
authorSabrina Dubroca <sd@queasysnail.net>
Tue, 14 Jun 2016 13:25:14 +0000 (15:25 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Jun 2016 21:47:46 +0000 (14:47 -0700)
commitb196c22af5c3ff784c472c80f6fb4e5fad67b2ac
tree8cbba8301066d8f2c3dd3fd6ac269cbf6debffbd
parent0ee13627f963f9c5c9544ed19d82854836d5e676
macsec: add rcu_barrier() on module exit

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