projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e36360
)
ipv4: Remove rt->rt_dst reference from ip_forward_options().
author
David S. Miller
<davem@davemloft.net>
Fri, 13 May 2011 21:31:02 +0000
(17:31 -0400)
committer
David S. Miller
<davem@davemloft.net>
Fri, 13 May 2011 21:31:02 +0000
(17:31 -0400)
At this point iph->daddr equals what rt->rt_dst would hold.
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_options.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv4/ip_options.c
b/net/ipv4/ip_options.c
index 89268baabc87bb6b48368dd3911c2bb594fa5272..c3118e1cd3bb502c293748e40b2c3ccc648c8b94 100644
(file)
--- a/
net/ipv4/ip_options.c
+++ b/
net/ipv4/ip_options.c
@@
-567,7
+567,7
@@
void ip_forward_options(struct sk_buff *skb)
) {
if (srrptr + 3 > srrspace)
break;
- if (memcmp(&
rt->rt_dst
, &optptr[srrptr-1], 4) == 0)
+ if (memcmp(&
ip_hdr(skb)->daddr
, &optptr[srrptr-1], 4) == 0)
break;
}
if (srrptr + 3 <= srrspace) {