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

Commit 108bfa89 authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

net: unset IFF_XMIT_DST_RELEASE in ipgre_tunnel_setup()



ipgre_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 a489e51c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1238,6 +1238,7 @@ static void ipgre_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 int ipgre_tunnel_init(struct net_device *dev)