gre: clear IFF_TX_SKB_SHARING
authorJiri Benc <jbenc@redhat.com>
Wed, 17 Feb 2016 14:32:53 +0000 (15:32 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Feb 2016 19:43:48 +0000 (14:43 -0500)
commitd13b161c2c7c67401bb222c30302339285ac148e
treeac24ff6589a066e259d349d546f01b956917a5ee
parentfc41cdb322a2a513efd60f81133efecd69d4f336
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>
net/ipv4/ip_gre.c
net/ipv6/ip6_gre.c