]> Git Repo - linux.git/commit
netdev-genl: Hold rcu_read_lock in napi_set
authorJoe Damato <[email protected]>
Thu, 14 Nov 2024 17:55:59 +0000 (17:55 +0000)
committerJakub Kicinski <[email protected]>
Fri, 15 Nov 2024 22:21:00 +0000 (14:21 -0800)
commited7231f56cd7f795ff3a831e32946a96661bfee9
tree6957ea888ed35ec7ede3e4f716633c74966860ab
parent6cd663f03fa6993588af641af7a5a508cf1de4a9
netdev-genl: Hold rcu_read_lock in napi_set

Hold rcu_read_lock during netdev_nl_napi_set_doit, which calls
napi_by_id and requires rcu_read_lock to be held.

Closes: https://lore.kernel.org/netdev/[email protected]/
Fixes: 1287c1ae0fc2 ("netdev-genl: Support setting per-NAPI config values")
Signed-off-by: Joe Damato <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
net/core/netdev-genl.c
This page took 0.050992 seconds and 4 git commands to generate.