net/ipv6/udp: UDP encapsulation: move socket locking into udpv6_queue_rcv_skb()
authorBenjamin LaHaise <bcrl@kvack.org>
Fri, 27 Apr 2012 08:23:59 +0000 (08:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 29 Apr 2012 02:21:51 +0000 (22:21 -0400)
In order to make sure that when the encap_rcv() hook is introduced it is
not called with the socket lock held, move socket locking from callers into
udpv6_queue_rcv_skb(), matching what happens in IPv4.

Signed-off-by: Benjamin LaHaise <bcrl@kvack.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found