summaryrefslogtreecommitdiff
path: root/io_uring/zcrx.h
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2025-09-16 15:27:57 +0100
committerJens Axboe <axboe@kernel.dk>2025-09-16 12:37:20 -0600
commit20dda449c0b6297ed7c13a23a1207ed072655bff (patch)
treef10ed53f5a80f56dbb51d558d804607c7e9327eb /io_uring/zcrx.h
parent4f602f3112c8271e32bea358dd2a8005d32a5bd5 (diff)
io_uring/zcrx: protect netdev with pp_lock
Remove ifq->lock and reuse pp_lock to protect the netdev pointer. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/zcrx.h')
-rw-r--r--io_uring/zcrx.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/io_uring/zcrx.h b/io_uring/zcrx.h
index 3f89a34e5282..a48871b5adad 100644
--- a/io_uring/zcrx.h
+++ b/io_uring/zcrx.h
@@ -53,7 +53,6 @@ struct io_zcrx_ifq {
struct device *dev;
struct net_device *netdev;
netdevice_tracker netdev_tracker;
- spinlock_t lock;
/*
* Page pool and net configuration lock, can be taken deeper in the