Re: [PATCH] vhost: fix read vs write lock mismatch

2024-11-26 Thread Maxime Coquelin
On 11/18/24 17:24, Stephen Hemminger wrote: If lock is acquired for write, it must be released for write or a deadlock is likely. Bugzilla ID: 1582 Fixes: 9fc93a1e2320 ("vhost: fix virtqueue access check in datapath") Cc: david.march...@redhat.com Cc: sta...@dpdk.org Signed-off-by: Stephen H

Re: [PATCH] vhost: fix read vs write lock mismatch

2024-11-25 Thread Stephen Hemminger
On Mon, 25 Nov 2024 17:31:26 +0100 Maxime Coquelin wrote: > On 11/25/24 17:28, David Marchand wrote: > > On Mon, Nov 25, 2024 at 5:20 PM Maxime Coquelin > > wrote: > >> On 11/25/24 12:14, David Marchand wrote: > >>> On Mon, Nov 18, 2024 at 5:24 PM Stephen Hemminger > >>> wrote: > > >

Re: [PATCH] vhost: fix read vs write lock mismatch

2024-11-25 Thread Maxime Coquelin
On 11/25/24 17:28, David Marchand wrote: On Mon, Nov 25, 2024 at 5:20 PM Maxime Coquelin wrote: On 11/25/24 12:14, David Marchand wrote: On Mon, Nov 18, 2024 at 5:24 PM Stephen Hemminger wrote: If lock is acquired for write, it must be released for write or a deadlock is likely. Bugzill

Re: [PATCH] vhost: fix read vs write lock mismatch

2024-11-25 Thread David Marchand
On Mon, Nov 25, 2024 at 5:20 PM Maxime Coquelin wrote: > On 11/25/24 12:14, David Marchand wrote: > > On Mon, Nov 18, 2024 at 5:24 PM Stephen Hemminger > > wrote: > >> > >> If lock is acquired for write, it must be released for write > >> or a deadlock is likely. > >> > >> Bugzilla ID: 1582 > >>

Re: [PATCH] vhost: fix read vs write lock mismatch

2024-11-25 Thread Maxime Coquelin
On 11/25/24 12:14, David Marchand wrote: On Mon, Nov 18, 2024 at 5:24 PM Stephen Hemminger wrote: If lock is acquired for write, it must be released for write or a deadlock is likely. Bugzilla ID: 1582 Fixes: 9fc93a1e2320 ("vhost: fix virtqueue access check in datapath") Cc: david.march...

Re: [PATCH] vhost: fix read vs write lock mismatch

2024-11-25 Thread David Marchand
On Mon, Nov 18, 2024 at 5:24 PM Stephen Hemminger wrote: > > If lock is acquired for write, it must be released for write > or a deadlock is likely. > > Bugzilla ID: 1582 > Fixes: 9fc93a1e2320 ("vhost: fix virtqueue access check in datapath") > Cc: david.march...@redhat.com > Cc: sta...@dpdk.org >

[PATCH] vhost: fix read vs write lock mismatch

2024-11-18 Thread Stephen Hemminger
If lock is acquired for write, it must be released for write or a deadlock is likely. Bugzilla ID: 1582 Fixes: 9fc93a1e2320 ("vhost: fix virtqueue access check in datapath") Cc: david.march...@redhat.com Cc: sta...@dpdk.org Signed-off-by: Stephen Hemminger --- lib/vhost/virtio_net.c | 2 +- 1 f