Thread (3 messages) 3 messages, 3 authors, 2019-10-02

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

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help