diff options
author | Jiri Benc <jbenc@redhat.com> | 2016-02-17 15:31:35 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-18 14:43:47 -0500 |
commit | fc41cdb322a2a513efd60f81133efecd69d4f336 (patch) | |
tree | 30af1448444e4b2ae0479bf2d387ccef740a50e2 /drivers/net/geneve.c | |
parent | 82a0f6b4aba95a21729f56ed0cbe57f2701b4872 (diff) | |
download | linux-fc41cdb322a2a513efd60f81133efecd69d4f336.tar.gz linux-fc41cdb322a2a513efd60f81133efecd69d4f336.tar.bz2 linux-fc41cdb322a2a513efd60f81133efecd69d4f336.zip |
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@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/geneve.c')
-rw-r--r-- | drivers/net/geneve.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |