Re: [PATCH net v3] vsock: Fix a lockdep warning in __vsock_release()

From
David Miller <davem@davemloft.net>
Date
2019-10-02 01:24:01
Also in
kvm, linux-hyperv, lkml
Reply to
Dexuan Cui, 2019-09-30
From: Dexuan Cui <decui@microsoft.com>
Date: Mon, 30 Sep 2019 18:43:50 +0000
Lockdep is unhappy if two locks from the same class are held.

Fix the below warning for hyperv and virtio sockets (vmci socket code
doesn't have the issue) by using lock_sock_nested() when __vsock_release()
is called recursively:
 ...
Tested-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: Dexuan Cui <decui@microsoft.com>
Applied, thanks.
Thread (3 messages) 3 messages, 3 authors, last reply 2019-10-02
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help