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: 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.