diff options
author | David S. Miller <davem@davemloft.net> | 2011-05-12 19:34:30 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-05-12 19:34:30 -0400 |
commit | def57687e9579b7a797681990dff763c411f5347 (patch) | |
tree | 24e1b96d286eda163cf98cf4d5eb5a1d24b34737 /scripts | |
parent | c30883bdff0b3544900a5c4aba18b8985436878f (diff) | |
download | linux-def57687e9579b7a797681990dff763c411f5347.tar.gz linux-def57687e9579b7a797681990dff763c411f5347.tar.bz2 linux-def57687e9579b7a797681990dff763c411f5347.zip |
ipv4: Elide use of rt->rt_dst in ip_forward()
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions