From: Jiri Benc Date: Wed, 17 Feb 2016 14:31:35 +0000 (+0100) Subject: geneve: clear IFF_TX_SKB_SHARING X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fc41cdb322a2a513efd60f81133efecd69d4f336;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git geneve: clear IFF_TX_SKB_SHARING ether_setup sets IFF_TX_SKB_SHARING but this is not supported by geneve as it modifies the skb on xmit. Signed-off-by: Jiri Benc Signed-off-by: David S. Miller --- diff --git a/drivers/net/geneve.c b/drivers/net/geneve.c index 70975700f91d..4a9cc038c4b0 100644 --- a/drivers/net/geneve.c +++ b/drivers/net/geneve.c @@ -1178,6 +1178,7 @@ static void geneve_setup(struct net_device *dev) dev->hw_features |= NETIF_F_GSO_SOFTWARE; netif_keep_dst(dev); + dev->priv_flags &= ~IFF_TX_SKB_SHARING; dev->priv_flags |= IFF_LIVE_ADDR_CHANGE | IFF_NO_QUEUE; eth_hw_addr_random(dev); }