Re: [PATCH net] vhost_net: add missing lock nesting notation
From: David Miller <davem@davemloft.net>
Date: 2018-03-26 16:59:36
Also in:
kvm, lkml
From: David Miller <davem@davemloft.net>
Date: 2018-03-26 16:59:36
Also in:
kvm, lkml
From: Jason Wang <jasowang@redhat.com> Date: Mon, 26 Mar 2018 16:10:23 +0800
We try to hold TX virtqueue mutex in vhost_net_rx_peek_head_len()
after RX virtqueue mutex is held in handle_rx(). This requires an
appropriate lock nesting notation to calm down deadlock detector.
Fixes: 0308813724606 ("vhost_net: basic polling support")
Reported-by: syzbot+7f073540b1384a614e09@syzkaller.appspotmail.com
Signed-off-by: Jason Wang <jasowang@redhat.com>Applied and queued up for -stable, thanks Jason.