]> www.infradead.org Git - users/dwmw2/linux.git/commit
Merge branch 'net-use-netdev-lock-to-protect-napi'
authorJakub Kicinski <kuba@kernel.org>
Thu, 16 Jan 2025 03:13:36 +0000 (19:13 -0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 16 Jan 2025 03:13:37 +0000 (19:13 -0800)
commitbc1e64d5403d7926a3d79fdbbdf628b69f0939a2
tree248e4628b1027208d0a02265a78477b6b2c29489
parent0b6f6593aa8c3a05f155c12fd0e7ad33a5149c31
parent062e789172226f295cab660cb3546a0e478dd19f
Merge branch 'net-use-netdev-lock-to-protect-napi'

Jakub Kicinski says:

====================
net: use netdev->lock to protect NAPI

We recently added a lock member to struct net_device, with a vague
plan to start using it to protect netdev-local state, removing
the need to take rtnl_lock for new configuration APIs.

Lay some groundwork and use this lock for protecting NAPI APIs.

v1: https://lore.kernel.org/20250114035118.110297-1-kuba@kernel.org
====================

Link: https://patch.msgid.link/20250115035319.559603-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>