projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82a0f6b
)
geneve: clear IFF_TX_SKB_SHARING
author
Jiri Benc
<jbenc@redhat.com>
Wed, 17 Feb 2016 14:31:35 +0000
(15:31 +0100)
committer
David S. Miller
<davem@davemloft.net>
Thu, 18 Feb 2016 19:43:47 +0000
(14:43 -0500)
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>
drivers/net/geneve.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/geneve.c
b/drivers/net/geneve.c
index 70975700f91d493c847e618e79d6c3a17ef9bff9..4a9cc038c4b09cbb3d2eb210279d7bc11ad1ea29 100644
(file)
--- 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);
}