ip6gretap: Fix MTU to allow for Ethernet header
authorAlexander Duyck <aduyck@mirantis.com>
Thu, 14 Apr 2016 19:33:45 +0000 (15:33 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sat, 16 Apr 2016 23:09:13 +0000 (19:09 -0400)
commita9e242ca43b13e5a5d176f97dfd2481c339934b7
treebe8f21af34aaed2e0e58fc8520932cd77fd5bd79
parentaed069df099cd1a27900acb56bb892ec24c66ac4
ip6gretap: Fix MTU to allow for Ethernet header

When we were creating an ip6gretap interface the MTU was about 6 bytes
short of what was needed.  It turns out we were not taking the Ethernet
header into account and as a result we were eating into the 8 bytes
reserved for the encap limit.

Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_gre.c