diff options
author | David S. Miller <davem@davemloft.net> | 2012-07-23 22:16:59 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-23 22:16:59 +0200 |
commit | 8acfaa948440717a11d15a4ea579d68a5366fea4 (patch) | |
tree | c45079797cb0ab4034c131f25d088f157c020d53 /net | |
parent | net/ipv4/ip_vti.c: Fix __rcu warnings detected by sparse. (diff) | |
download | linux-8acfaa948440717a11d15a4ea579d68a5366fea4.tar.xz 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.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) /* 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; |