[IPV6] lockdep: annotate __icmpv6_socket
authorIngo Molnar <mingo@elte.hu>
Tue, 15 Aug 2006 07:06:56 +0000 (00:06 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 17 Aug 2006 23:29:48 +0000 (16:29 -0700)
commit640c41c77a96dbbfb74d40ae86ab75b759afb911
tree58c7ae0097b2d5a2b724ffb36edcd3a3ab18ba05
parentdeb47c66e12a645f7eec9b1c153c05ed47989439
[IPV6] lockdep: annotate __icmpv6_socket

Split off __icmpv6_socket's sk->sk_dst_lock class, because it gets
used from softirqs, which is safe for __icmpv6_sockets (because they
never get directly used via userspace syscalls), but unsafe for normal
sockets.

Has no effect on non-lockdep kernels.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/icmp.c