git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bc0b3b
)
net: udp_unhash() can test if sk is hashed
author
Eric Dumazet
<dada1@cosmosbay.com>
Tue, 25 Nov 2008 21:55:15 +0000
(13:55 -0800)
committer
David S. Miller
<davem@davemloft.net>
Tue, 25 Nov 2008 21:55:15 +0000
(13:55 -0800)
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>
No differences found