Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 247485
b: refs/heads/master
c: c5be24f
h: refs/heads/master
i:
  247483: ced9bc8
v: v3
  • Loading branch information
David S. Miller committed May 16, 2011
1 parent 1bafe35 commit c28f55a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 1a8218e96271790a07dd7065a2ef173e0f67e328
refs/heads/master: c5be24ff62d238a3fdd5d15461b420cd72e78a14
4 changes: 2 additions & 2 deletions trunk/net/ipv4/route.c
Original file line number Diff line number Diff line change
Expand Up @@ -1435,7 +1435,7 @@ void ip_rt_send_redirect(struct sk_buff *skb)
peer->rate_tokens == ip_rt_redirect_number &&
net_ratelimit())
printk(KERN_WARNING "host %pI4/if%d ignores redirects for %pI4 to %pI4.\n",
&rt->rt_src, rt->rt_iif,
&ip_hdr(skb)->saddr, rt->rt_iif,
&rt->rt_dst, &rt->rt_gateway);
#endif
}
Expand Down Expand Up @@ -1704,7 +1704,7 @@ void ip_rt_get_source(u8 *addr, struct sk_buff *skb, struct rtable *rt)
__be32 src;

if (rt_is_output_route(rt))
src = rt->rt_src;
src = ip_hdr(skb)->saddr;
else {
struct fib_result res;
struct flowi4 fl4;
Expand Down

0 comments on commit c28f55a

Please sign in to comment.