Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 247428
b: refs/heads/master
c: 72a8f97
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed May 13, 2011
1 parent dcdafa9 commit 8be6052
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5c5095494fb545f53b80cbb7539679a10a3472a6
refs/heads/master: 72a8f97bf2dfe1b0f02ba8dbaed7d6b76657aae3
2 changes: 1 addition & 1 deletion trunk/net/ipv4/ip_forward.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ int ip_forward(struct sk_buff *skb)

rt = skb_rtable(skb);

if (opt->is_strictroute && iph->daddr != rt->rt_gateway)
if (opt->is_strictroute && ip_hdr(skb)->daddr != rt->rt_gateway)
goto sr_failed;

if (unlikely(skb->len > dst_mtu(&rt->dst) && !skb_is_gso(skb) &&
Expand Down

0 comments on commit 8be6052

Please sign in to comment.