From: Ethan Jackson Date: Thu, 27 Dec 2012 00:20:12 +0000 (-0800) Subject: vswitch: Remove PMTUD support from userspace. X-Git-Tag: sliver-openvswitch-1.9.90-3~10^2~47 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=6f74491cda4414b746095314b36bca3e02b93840;p=sliver-openvswitch.git vswitch: Remove PMTUD support from userspace. This patch removes path MTU discovery from userspace. The feature still exists in the kernel where it will need to be removed in the future. Signed-off-by: Ethan Jackson --- diff --git a/NEWS b/NEWS index e07dac8a4..537d29895 100644 --- a/NEWS +++ b/NEWS @@ -7,6 +7,7 @@ post-v1.9.0 available through ovs-appctl allow control over logging rate limits. - The OpenFlow "dp_desc" may now be configured by setting the value of other-config:dp-desc in the Bridge table. + - Path MTU discovery is no longer supported. v1.9.0 - xx xxx xxxx diff --git a/lib/netdev-vport.c b/lib/netdev-vport.c index 04c3344e7..c9cef5d70 100644 --- a/lib/netdev-vport.c +++ b/lib/netdev-vport.c @@ -590,14 +590,6 @@ parse_tunnel_config(const char *name, const char *type, if (!strcmp(node->value, "false")) { flags &= ~TNL_F_DF_DEFAULT; } - } else if (!strcmp(node->key, "pmtud")) { - if (!strcmp(node->value, "true")) { - VLOG_WARN_ONCE("%s: The tunnel Path MTU discovery is " - "deprecated and may be removed in February " - "2013. Please email dev@openvswitch.org with " - "concerns.", name); - flags |= TNL_F_PMTUD; - } } else if (!strcmp(node->key, "peer_cert") && is_ipsec) { if (smap_get(args, "certificate")) { ipsec_mech_set = true; @@ -798,9 +790,6 @@ unparse_tunnel_config(const char *name OVS_UNUSED, const char *type OVS_UNUSED, if (!(flags & TNL_F_DF_DEFAULT)) { smap_add(args, "df_default", "false"); } - if (flags & TNL_F_PMTUD) { - smap_add(args, "pmtud", "true"); - } return 0; } diff --git a/vswitchd/vswitch.xml b/vswitchd/vswitch.xml index 64ad6c72e..a6f8c07cd 100644 --- a/vswitchd/vswitch.xml +++ b/vswitchd/vswitch.xml @@ -1415,18 +1415,6 @@ false to disable. - - Optional. Enable tunnel path MTU discovery. If enabled ``ICMP - Destination Unreachable - Fragmentation Needed'' messages will be - generated for IPv4 packets with the DF bit set and IPv6 packets above - the minimum MTU if the packet size exceeds the path MTU minus the size - of the tunnel headers. Note that this option causes behavior that is - typically reserved for routers and therefore is not entirely in - compliance with the IEEE 802.1D specification for bridges. Default is - disabled; set to true to enable. This feature is - deprecated and will be removed soon. - -

Only gre and ipsec_gre interfaces support