net: better IFF_XMIT_DST_RELEASE support
[linux-2.6-microblaze.git] / net / ipv4 / ipip.c
index ea88ab3..37096d6 100644 (file)
@@ -289,7 +289,7 @@ static void ipip_tunnel_setup(struct net_device *dev)
        dev->iflink             = 0;
        dev->addr_len           = 4;
        dev->features           |= NETIF_F_LLTX;
-       dev->priv_flags         &= ~IFF_XMIT_DST_RELEASE;
+       netif_keep_dst(dev);
 
        dev->features           |= IPIP_FEATURES;
        dev->hw_features        |= IPIP_FEATURES;