Eric Dumazet 723b46108f net: udp_unhash() can test if sk is hashed
Impact: Optimization

Like done in inet_unhash(), we can avoid taking a chain lock if
socket is not hashed in udp_unhash()

Triggered by close(socket(AF_INET, SOCK_DGRAM, 0));

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-11-25 13:55:15 -08:00
..
2008-11-03 18:21:05 -08:00
2008-11-23 15:42:23 -08:00
2008-11-25 01:05:09 -08:00
2008-07-16 20:20:11 -07:00
2008-11-03 02:48:48 -08:00
2008-11-03 00:26:09 -08:00
2008-11-03 18:21:05 -08:00
2008-10-07 08:38:24 +11:00
2008-10-07 08:38:24 +11:00
2008-11-24 21:27:22 -08:00
2008-06-11 21:00:38 -07:00
2008-11-03 18:21:05 -08:00
2008-11-02 00:28:10 -07:00
2008-11-12 01:41:09 -08:00