Skip to content

Commit

Permalink
decnet: Don't set RTCF_DIRECTSRC.
Browse files Browse the repository at this point in the history
It's an ipv4 defined route flag, and only ipv4 uses it.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Jul 23, 2012
1 parent e7d4b18 commit 8acfaa9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions net/decnet/dn_route.c
Original file line number Diff line number Diff line change
Expand Up @@ -1424,7 +1424,6 @@ static int dn_route_input_slow(struct sk_buff *skb)
/* Packet was intra-ethernet, so we know its on-link */
if (cb->rt_flags & DN_RT_F_IE) {
gateway = cb->src;
flags |= RTCF_DIRECTSRC;
goto make_route;
}

Expand All @@ -1437,7 +1436,6 @@ static int dn_route_input_slow(struct sk_buff *skb)

/* Close eyes and pray */
gateway = cb->src;
flags |= RTCF_DIRECTSRC;
goto make_route;
default:
goto e_inval;
Expand Down

0 comments on commit 8acfaa9

Please sign in to comment.