Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Lots of conflicts, by happily all cases of overlapping changes, parallel adds, things of that nature. Thanks to Stephen Rothwell, Saeed Mahameed, and others for their guidance in these resolutions. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -517,7 +517,13 @@ static void vhost_net_busy_poll(struct vhost_net *net,
|
||||
struct socket *sock;
|
||||
struct vhost_virtqueue *vq = poll_rx ? tvq : rvq;
|
||||
|
||||
mutex_lock_nested(&vq->mutex, poll_rx ? VHOST_NET_VQ_TX: VHOST_NET_VQ_RX);
|
||||
/* Try to hold the vq mutex of the paired virtqueue. We can't
|
||||
* use mutex_lock() here since we could not guarantee a
|
||||
* consistenet lock ordering.
|
||||
*/
|
||||
if (!mutex_trylock(&vq->mutex))
|
||||
return;
|
||||
|
||||
vhost_disable_notify(&net->dev, vq);
|
||||
sock = rvq->private_data;
|
||||
|
||||
|
Reference in New Issue
Block a user