Revision aaa3149bbee9ba9b4e6f0bd6e3e7d191edeae942 authored by Jason Wang on 26 March 2018, 08:10:23 UTC, committed by David S. Miller on 26 March 2018, 16:59:01 UTC
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>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent f3d801b
History
File Mode Size
api
bpf
lockdep
subcmd
symbol
traceevent
bitmap.c -rw-r--r-- 1.7 KB
find_bit.c -rw-r--r-- 3.2 KB
hweight.c -rw-r--r-- 1.8 KB
rbtree.c -rw-r--r-- 14.7 KB
str_error_r.c -rw-r--r-- 1.0 KB
string.c -rw-r--r-- 2.1 KB
vsprintf.c -rw-r--r-- 575 bytes

back to top