diff options
author | 2025-04-08 12:59:49 -0700 | |
---|---|---|
committer | 2025-04-09 17:01:51 -0700 | |
commit | 606048cbd8346e616cfaee01b0143d072534136d (patch) | |
tree | 6c03cc1fdafc899e8e824e5638745b947df0f48e /scripts/gdb/linux/utils.py | |
parent | net: avoid potential race between netdev_get_by_index_lock() and netns switch (diff) | |
download | wireguard-linux-606048cbd8346e616cfaee01b0143d072534136d.tar.xz wireguard-linux-606048cbd8346e616cfaee01b0143d072534136d.zip |
net: designate XSK pool pointers in queues as "ops protected"
Read accesses go via xsk_get_pool_from_qid(), the call coming
from the core and gve look safe (other "ops locked" drivers
don't support XSK).
Write accesses go via xsk_reg_pool_at_qid() and xsk_clear_pool_at_qid().
Former is already under the ops lock, latter is not (both coming from
the workqueue via xp_clear_dev() and NETDEV_UNREGISTER via xsk_notifier()).
Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Signed-off-by: Stanislav Fomichev <sdf@fomichev.me>
Link: https://patch.msgid.link/20250408195956.412733-3-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions