patch-2.4.4 linux/net/ipv6/route.c
Next file: linux/net/ipv6/sit.c
Previous file: linux/net/ipv6/reassembly.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Thu Apr 26 22:17:26 2001
- Orig file:
v2.4.3/linux/net/ipv6/route.c
- Orig date:
Thu Nov 9 15:57:53 2000
diff -u --recursive --new-file v2.4.3/linux/net/ipv6/route.c linux/net/ipv6/route.c
@@ -5,7 +5,7 @@
* Authors:
* Pedro Roque <roque@di.fc.ul.pt>
*
- * $Id: route.c,v 1.49 2000/11/03 01:11:58 davem Exp $
+ * $Id: route.c,v 1.50 2001/04/25 20:46:35 davem Exp $
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -1394,6 +1394,7 @@
caused by addrconf/ndisc.
*/
if (rt->rt6i_dev == arg->dev &&
+ rt->u.dst.pmtu > arg->mtu &&
!(rt->u.dst.mxlock&(1<<RTAX_MTU)))
rt->u.dst.pmtu = arg->mtu;
rt->u.dst.advmss = max(arg->mtu - 60, ip6_rt_min_advmss);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)