mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 19:56:18 +00:00
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: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
cdd0db058d
commit
28e72216d7
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue