]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net/smc: use rcu_barrier() on module unload
authorUrsula Braun <ubraun@linux.ibm.com>
Sat, 16 Nov 2019 16:47:31 +0000 (17:47 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 16 Nov 2019 20:26:49 +0000 (12:26 -0800)
commit4ead9c96d528e1b9937382321910a2bf35fc1a86
tree8ed94fbad32707f7216b6b744a4bc5a817dab5f9
parenta33a803cfe64309d330540ae4a8df17158bcb6ea
net/smc: use rcu_barrier() on module unload

Add rcu_barrier() to make sure no RCU readers or callbacks are
pending when the module is unloaded.

Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/af_smc.c