]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
net: vhost: lock the vqs one by one
authorTonghao Zhang <xiangxia.m.yue@gmail.com>
Tue, 25 Sep 2018 12:36:49 +0000 (05:36 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Sep 2018 03:25:54 +0000 (20:25 -0700)
commit78139c94dc8c96a478e67dab3bee84dc6eccb5fd
tree234738bd1ed26c48485efea826d6d5dc3ddc7419
parentaf4325ecc24f45933d5567e72227cff2c1594764
net: vhost: lock the vqs one by one

This patch changes the way that lock all vqs
at the same, to lock them one by one. It will
be used for next patch to avoid the deadlock.

Signed-off-by: Tonghao Zhang <xiangxia.m.yue@gmail.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/vhost/vhost.c