Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 56584
b: refs/heads/master
c: f6c5d73
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed May 18, 2007
1 parent 8420c0a commit ad49716
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: d739437207064cdcea8f9c81442284106cbcb67f
refs/heads/master: f6c5d736af6bc71cebc017e4001ec5efff1ee116
4 changes: 2 additions & 2 deletions trunk/net/ipv4/route.c
Original file line number Diff line number Diff line change
Expand Up @@ -2396,7 +2396,7 @@ static int ip_route_output_slow(struct rtable **rp, const struct flowi *oldflp)

/* It is equivalent to inet_addr_type(saddr) == RTN_LOCAL */
dev_out = ip_dev_find(oldflp->fl4_src);
if ((dev_out == NULL) && !(sysctl_ip_nonlocal_bind))
if (dev_out == NULL)
goto out;

/* I removed check for oif == dev_out->oif here.
Expand All @@ -2407,7 +2407,7 @@ static int ip_route_output_slow(struct rtable **rp, const struct flowi *oldflp)
of another iface. --ANK
*/

if (dev_out && oldflp->oif == 0
if (oldflp->oif == 0
&& (MULTICAST(oldflp->fl4_dst) || oldflp->fl4_dst == htonl(0xFFFFFFFF))) {
/* Special hack: user can direct multicasts
and limited broadcast via necessary interface
Expand Down

0 comments on commit ad49716

Please sign in to comment.