summaryrefslogtreecommitdiffstats
path: root/sys/net/if_gre.h
diff options
context:
space:
mode:
authorae <ae@FreeBSD.org>2017-04-25 11:19:22 +0000
committerae <ae@FreeBSD.org>2017-04-25 11:19:22 +0000
commit2cf55051e5ea66a9411832eae9e58a86e2425abf (patch)
treedf8ccf1b0c9053b91c16c23aa2005f914e324daa /sys/net/if_gre.h
parent2a1d90cfed55e7714be9cd5d5d86f5f4aa5d6c7f (diff)
downloadFreeBSD-src-2cf55051e5ea66a9411832eae9e58a86e2425abf.zip
FreeBSD-src-2cf55051e5ea66a9411832eae9e58a86e2425abf.tar.gz
MFC r316699:
Do not adjust interface MTU automatically. Leave this task to the system administrator. Before r274246 interface MTU was adjusted only when GRE key is configured. The r274246 has changed this behavior to automatically adjust MTU when any option, that changes the size of GRE header is configured. This patch removes automatic MTU adjustment from if_gre(4) and if_me(4), and restores the behavior that was prior to r274246. Differential Revision: https://reviews.freebsd.org/D10215
Diffstat (limited to 'sys/net/if_gre.h')
-rw-r--r--sys/net/if_gre.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/net/if_gre.h b/sys/net/if_gre.h
index 806b0cb..8fb811c 100644
--- a/sys/net/if_gre.h
+++ b/sys/net/if_gre.h
@@ -69,7 +69,6 @@ struct gre_softc {
uint32_t gre_oseq;
uint32_t gre_key;
uint32_t gre_options;
- uint32_t gre_mtu;
u_int gre_fibnum;
u_int gre_hlen; /* header size */
union {
OpenPOWER on IntegriCloud