Home
last modified time | relevance | path

Searched hist:"4192 f672" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/vmw_vsock/
H A Daf_vsock.c4192f672 Thu Jun 23 10:28:58 CDT 2016 Stefan Hajnoczi <stefanha@redhat.com> vsock: make listener child lock ordering explicit

There are several places where the listener and pending or accept queue
child sockets are accessed at the same time. Lockdep is unhappy that
two locks from the same class are held.

Tell lockdep that it is safe and document the lock ordering.

Originally Claudio Imbrenda <imbrenda@linux.vnet.ibm.com> sent a similar
patch asking whether this is safe. I have audited the code and also
covered the vsock_pending_work() function.

Suggested-by: Claudio Imbrenda <imbrenda@linux.vnet.ibm.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>