On Fri, 31 Oct 2025 19:24:47 -0700, David Wei wrote:
netdev ops must be called under instance lock or rtnl_lock, but
io_register_zcrx_ifq() isn't doing this for netdev_queue_get_dma_dev().
Fix this by taking the instance lock using netdev_get_by_index_lock().
netdev_get_by_index_lock() isn't available outside net/ by default, so
the first patch is a prep patch to export this under linux/netdevice.h.
[...]
Applied, thanks!
[1/2] net: export netdev_get_by_index_lock()
commit: 0da5d94bbc6af079f105264849dc3afd01b78aaa
[2/2] net: io_uring/zcrx: call netdev_queue_get_dma_dev() under instance lock
(no commit info)
Best regards,
--
Jens Axboe