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:
c30883b
)
ipv4: Elide use of rt->rt_dst in ip_forward()
author
David S. Miller
<davem@davemloft.net>
Thu, 12 May 2011 23:34:30 +0000
(19:34 -0400)
committer
David S. Miller
<davem@davemloft.net>
Thu, 12 May 2011 23:34:30 +0000
(19:34 -0400)
No matter what kind of header mangling occurs due to IP options
processing, rt->rt_dst will always equal iph->daddr in the packet.
So we can safely use iph->daddr instead of rt->rt_dst here.
Signed-off-by: David S. Miller <davem@davemloft.net>
No differences found