[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <ff77ee3522f56d1f4ab4381fca130978c0d3fca4.1455719425.git.jbenc@redhat.com>
Date: Wed, 17 Feb 2016 15:31:35 +0100
From: Jiri Benc <jbenc@...hat.com>
To: netdev@...r.kernel.org
Cc: Jesse Gross <jesse@...nel.org>
Subject: [PATCH net] 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 <jbenc@...hat.com>
---
drivers/net/geneve.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/geneve.c b/drivers/net/geneve.c
index 028e3873c310..085b27cefb74 100644
--- a/drivers/net/geneve.c
+++ b/drivers/net/geneve.c
@@ -1161,6 +1161,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);
}
--
1.8.3.1
Powered by blists - more mailing lists