patch-2.1.88 linux/net/ipv4/fib_frontend.c

Next file: linux/net/ipv4/ip_fw.c
Previous file: linux/net/ipv4/devinet.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.87/linux/net/ipv4/fib_frontend.c linux/net/ipv4/fib_frontend.c
@@ -536,6 +536,10 @@
 		rt_cache_flush(0);
 		arp_ifdown(dev);
 		break;
+	case NETDEV_CHANGEMTU:
+	case NETDEV_CHANGE:
+		rt_cache_flush(1*HZ);
+		break;
 	}
 	return NOTIFY_DONE;
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov