Re: [PATCH net-next v5 3/6] virtio_net: Add a lock for the command VQ.

2024-04-26 Thread Paolo Abeni
On Tue, 2024-04-23 at 06:57 +0300, Daniel Jurgens wrote: > The command VQ will no longer be protected by the RTNL lock. Use a > mutex to protect the control buffer header and the VQ. > > Signed-off-by: Daniel Jurgens > Reviewed-by: Jiri Pirko > --- > drivers/net/virtio_net.c | 12 ++-- >

[PATCH net-next v5 3/6] virtio_net: Add a lock for the command VQ.

2024-04-22 Thread Daniel Jurgens
The command VQ will no longer be protected by the RTNL lock. Use a mutex to protect the control buffer header and the VQ. Signed-off-by: Daniel Jurgens Reviewed-by: Jiri Pirko --- drivers/net/virtio_net.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/drivers/