gre: clear IFF_TX_SKB_SHARING
ether_setup sets IFF_TX_SKB_SHARING but this is not supported by gre as it modifies the skb on xmit. Also, clean up whitespace in ipgre_tap_setup when we're already touching it. Signed-off-by: Jiri Benc <jbenc@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
fc41cdb322
commit
d13b161c2c
@@ -1512,6 +1512,7 @@ static void ip6gre_tap_setup(struct net_device *dev)
|
||||
dev->destructor = ip6gre_dev_free;
|
||||
|
||||
dev->features |= NETIF_F_NETNS_LOCAL;
|
||||
dev->priv_flags &= ~IFF_TX_SKB_SHARING;
|
||||
}
|
||||
|
||||
static int ip6gre_newlink(struct net *src_net, struct net_device *dev,
|
||||
|
Reference in New Issue
Block a user