]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: protect rxq->mp_params with the instance lock
authorJakub Kicinski <kuba@kernel.org>
Mon, 24 Mar 2025 22:45:33 +0000 (15:45 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 25 Mar 2025 17:06:49 +0000 (10:06 -0700)
commitb52458652eca5a551ddb55605201b136f091b04d
treef3a934ee1001a31e62f38e7cef6c014efa7f6f56
parent310ae9eb2617c62deedef8f121d7ca1ae774fa76
net: protect rxq->mp_params with the instance lock

Ensure that all accesses to mp_params are under the netdev
instance lock. The only change we need is to move
dev_memory_provider_uninstall() under the lock.

Appropriately swap the asserts.

Reviewed-by: Mina Almasry <almasrymina@google.com>
Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Link: https://patch.msgid.link/20250324224537.248800-8-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/core/dev.c
net/core/page_pool.c