Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;