summaryrefslogtreecommitdiffstats
path: root/drivers/net/vxlan.c
diff options
context:
space:
mode:
authorJiri Benc <jbenc@redhat.com>2016-02-16 22:16:53 +0100
committerDavid S. Miller <davem@davemloft.net>2016-02-18 14:43:47 -0500
commit82a0f6b4aba95a21729f56ed0cbe57f2701b4872 (patch)
tree1157a97ad828ecb32ccc1438cf490d46a0d50b9a /drivers/net/vxlan.c
parentaeee0e66c6b46cee311be22cb82735763eceb7c3 (diff)
downloadblackbird-op-linux-82a0f6b4aba95a21729f56ed0cbe57f2701b4872.tar.gz
blackbird-op-linux-82a0f6b4aba95a21729f56ed0cbe57f2701b4872.zip
vxlan: clear IFF_TX_SKB_SHARING
ether_setup sets IFF_TX_SKB_SHARING but this is not supported by vxlan 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/vxlan.c')
-rw-r--r--drivers/net/vxlan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c
index a31cd954b308..db96f3a16f6c 100644
--- a/drivers/net/vxlan.c
+++ b/drivers/net/vxlan.c
@@ -2537,6 +2537,7 @@ static void vxlan_setup(struct net_device *dev)
dev->hw_features |= NETIF_F_GSO_SOFTWARE;
dev->hw_features |= NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_STAG_TX;
netif_keep_dst(dev);
+ dev->priv_flags &= ~IFF_TX_SKB_SHARING;
dev->priv_flags |= IFF_LIVE_ADDR_CHANGE | IFF_NO_QUEUE;
INIT_LIST_HEAD(&vxlan->next);
OpenPOWER on IntegriCloud