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

Commit 28e72216 authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

net: unset IFF_XMIT_DST_RELEASE in ipip_tunnel_setup()



ipip_tunnel_xmit() might need skb->dst, so tell dev_hard_start_xmit()
to no release it.

Signed-off-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent cdd0db05
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -713,6 +713,7 @@ static void ipip_tunnel_setup(struct net_device *dev)
	dev->iflink		= 0;
	dev->addr_len		= 4;
	dev->features		|= NETIF_F_NETNS_LOCAL;
	dev->priv_flags		&= ~IFF_XMIT_DST_RELEASE;
}

static void ipip_tunnel_init(struct net_device *dev)