diff options
author | David S. Miller <davem@davemloft.net> | 2012-07-23 16:16:59 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-23 16:16:59 -0400 |
commit | 8acfaa948440717a11d15a4ea579d68a5366fea4 (patch) | |
tree | c45079797cb0ab4034c131f25d088f157c020d53 /net | |
parent | e7d4b18cbebc635fafd634688bbf66c59912879f (diff) |
decnet: Don't set RTCF_DIRECTSRC.
It's an ipv4 defined route flag, and only ipv4 uses it.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/decnet/dn_route.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/decnet/dn_route.c b/net/decnet/dn_route.c index 23cc11dd4e40..85a3604c87c8 100644 --- a/net/decnet/dn_route.c +++ b/net/decnet/dn_route.c | |||
@@ -1424,7 +1424,6 @@ static int dn_route_input_slow(struct sk_buff *skb) | |||
1424 | /* Packet was intra-ethernet, so we know its on-link */ | 1424 | /* Packet was intra-ethernet, so we know its on-link */ |
1425 | if (cb->rt_flags & DN_RT_F_IE) { | 1425 | if (cb->rt_flags & DN_RT_F_IE) { |
1426 | gateway = cb->src; | 1426 | gateway = cb->src; |
1427 | flags |= RTCF_DIRECTSRC; | ||
1428 | goto make_route; | 1427 | goto make_route; |
1429 | } | 1428 | } |
1430 | 1429 | ||
@@ -1437,7 +1436,6 @@ static int dn_route_input_slow(struct sk_buff *skb) | |||
1437 | 1436 | ||
1438 | /* Close eyes and pray */ | 1437 | /* Close eyes and pray */ |
1439 | gateway = cb->src; | 1438 | gateway = cb->src; |
1440 | flags |= RTCF_DIRECTSRC; | ||
1441 | goto make_route; | 1439 | goto make_route; |
1442 | default: | 1440 | default: |
1443 | goto e_inval; | 1441 | goto e_inval; |