Eric Dumazet 0e1efe9d5e ipv6: avoid taking locks at socket dismantle
ipv6_sock_mc_close() is called for ipv6 sockets at close time, and most
of them don't use multicast.

Add a test to avoid contention on a shared spinlock.

Same heuristic applies for ipv6_sock_ac_close(), to avoid contention
on a shared rwlock.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-12-05 16:01:28 -05:00
..
2012-11-01 12:41:35 -04:00
2012-08-31 16:27:48 -04:00
2012-11-03 14:59:05 -04:00
2012-07-30 14:53:21 -07:00
2012-12-04 13:27:24 -05:00
2012-08-14 14:28:32 -07:00
2012-09-25 16:04:44 -04:00
2012-08-14 14:45:07 -07:00
2012-11-01 12:41:35 -04:00
2012-11-22 15:30:14 -05:00
2012-11-01 12:41:35 -04:00