aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/dev_api.c
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2025-03-24 22:45:27 +0000
committerJakub Kicinski <[email protected]>2025-03-25 17:04:49 +0000
commitba6f418fbf64bb8c0e98dc1b548c151beeedd16c (patch)
treec9fb33b6c07d3e021fef35e564cbb279e1276c2a /net/core/dev_api.c
parentMerge branch 'virtio_net-fixes-and-improvements' (diff)
downloadkernel-ba6f418fbf64bb8c0e98dc1b548c151beeedd16c.tar.gz
kernel-ba6f418fbf64bb8c0e98dc1b548c151beeedd16c.zip
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: 1d22d3060b9b ("net: drop rtnl_lock for queue_mgmt operations") Reviewed-by: Mina Almasry <[email protected]> Acked-by: Stanislav Fomichev <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/core/dev_api.c')
0 files changed, 0 insertions, 0 deletions