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:
df19a62
)
net: ip_rt_send_redirect() optimization
author
Eric Dumazet
<eric.dumazet@gmail.com>
Sat, 29 Aug 2009 06:52:01 +0000
(23:52 -0700)
committer
David S. Miller
<davem@davemloft.net>
Sat, 29 Aug 2009 06:52:01 +0000
(23:52 -0700)
While doing some forwarding benchmarks, I noticed
ip_rt_send_redirect() is rather expensive, even if send_redirects is
false for the device.
Fix is to avoid two atomic ops, we dont really need to take a
reference on in_dev
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/route.c
patch
|
blob
|
history
diff --cc
net/ipv4/route.c
Simple merge