Files
linux/net/core
Jakub Kicinski ba6f418fbf net: bubble up taking netdev instance lock to callers of net_devmem_unbind_dmabuf()
A recent commit added taking the netdev instance lock
in netdev_nl_bind_rx_doit(), but didn't remove it in
net_devmem_unbind_dmabuf() which it calls from an error path.
Always expect the callers of net_devmem_unbind_dmabuf() to
hold the lock. This is consistent with net_devmem_bind_dmabuf().

(Not so) coincidentally this also protects mp_param with the instance
lock, which the rest of this series needs.

Fixes: 1d22d3060b ("net: drop rtnl_lock for queue_mgmt operations")
Reviewed-by: Mina Almasry <almasrymina@google.com>
Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Link: https://patch.msgid.link/20250324224537.248800-2-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-03-25 10:04:49 -07:00
..
2025-03-19 18:52:00 +01:00
2025-03-25 08:24:13 -07:00
2024-03-07 21:12:41 -08:00
2024-04-01 10:49:28 +01:00
2025-03-25 08:24:13 -07:00
2024-09-11 20:44:31 -07:00
2025-02-17 16:43:04 -08:00
2025-03-19 18:52:00 +01:00
2025-02-14 13:09:39 -08:00
2025-01-29 13:32:23 -08:00
2024-06-06 11:52:52 +02:00
2024-08-26 09:37:23 -07:00
2025-02-27 14:03:52 +01:00