decnet: Don't set RTCF_DIRECTSRC.
authorDavid S. Miller <davem@davemloft.net>
Mon, 23 Jul 2012 20:16:59 +0000 (13:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Jul 2012 20:16:59 +0000 (13:16 -0700)
It's an ipv4 defined route flag, and only ipv4 uses it.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/decnet/dn_route.c

index 23cc11dd4e40078964a2e3c1e0c8e499980ffcb8..85a3604c87c8d2cac6cac4d7049d9ba75877bf66 100644 (file)
@@ -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;