summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-07-23 13:16:59 -0700
committerDavid S. Miller <davem@davemloft.net>2012-07-23 13:16:59 -0700
commit8acfaa948440717a11d15a4ea579d68a5366fea4 (patch)
treec45079797cb0ab4034c131f25d088f157c020d53 /net
parente7d4b18cbebc635fafd634688bbf66c59912879f (diff)
downloadlinux-8acfaa948440717a11d15a4ea579d68a5366fea4.tar.gz
linux-8acfaa948440717a11d15a4ea579d68a5366fea4.tar.bz2
linux-8acfaa948440717a11d15a4ea579d68a5366fea4.zip
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.c2
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)
/* 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;
}
@@ -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;