Commit 8acfaa94 authored by David S. Miller's avatar David S. Miller

decnet: Don't set RTCF_DIRECTSRC.

It's an ipv4 defined route flag, and only ipv4 uses it.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e7d4b18c
...@@ -1424,7 +1424,6 @@ static int dn_route_input_slow(struct sk_buff *skb) ...@@ -1424,7 +1424,6 @@ static int dn_route_input_slow(struct sk_buff *skb)
/* Packet was intra-ethernet, so we know its on-link */ /* Packet was intra-ethernet, so we know its on-link */
if (cb->rt_flags & DN_RT_F_IE) { if (cb->rt_flags & DN_RT_F_IE) {
gateway = cb->src; gateway = cb->src;
flags |= RTCF_DIRECTSRC;
goto make_route; goto make_route;
} }
...@@ -1437,7 +1436,6 @@ static int dn_route_input_slow(struct sk_buff *skb) ...@@ -1437,7 +1436,6 @@ static int dn_route_input_slow(struct sk_buff *skb)
/* Close eyes and pray */ /* Close eyes and pray */
gateway = cb->src; gateway = cb->src;
flags |= RTCF_DIRECTSRC;
goto make_route; goto make_route;
default: default:
goto e_inval; goto e_inval;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment