summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@nvidia.com>2026-07-12 04:37:35 -0400
committerLeon Romanovsky <leonro@nvidia.com>2026-07-12 04:37:35 -0400
commit7d75592114d1664623c8cf191a12b38052c04483 (patch)
treea3121bb12d37305785e1dfc935c8358f5e3ee2fb /scripts/Makefile.thinlto
parent3cda0dfe8c651dcbb9e38977905d3d3b1750c4ab (diff)
downloadlinux-stable-7d75592114d1664623c8cf191a12b38052c04483.tar.gz
linux-stable-7d75592114d1664623c8cf191a12b38052c04483.zip
RDMA/core: Wait for RCU callbacks before unloading ib_core
put_gid_ndev() is queued with call_rcu() and implemented in ib_core. Stopping the workqueues does not drain callbacks already queued, so RCU could invoke it after the module code has been unloaded. synchronize_rcu() does not wait for callbacks. Wait for them after all producers have stopped. Fixes: 943bd984b108 ("RDMA/core: Allow detaching gid attribute netdevice for RoCE") Reported-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Closes: https://lore.kernel.org/linux-rdma/20260708092316.Qb39F_B0@linutronix.de/ Link: https://patch.msgid.link/20260709-unload-rcu-v1-1-fccd27211e5a@nvidia.com Acked-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions