[netfilter-cvslog] r3348 - trunk/nfsim/core/ipv4
rusty at netfilter.org
rusty at netfilter.org
Mon Dec 13 13:08:45 CET 2004
Author: rusty at netfilter.org
Date: 2004-12-13 13:08:45 +0100 (Mon, 13 Dec 2004)
New Revision: 3348
Modified:
trunk/nfsim/core/ipv4/ipv4.c
Log:
Set PMTU on routes: needed for 2.4 code otherwise it tries to re-fragment.
Modified: trunk/nfsim/core/ipv4/ipv4.c
===================================================================
--- trunk/nfsim/core/ipv4/ipv4.c 2004-12-13 12:07:55 UTC (rev 3347)
+++ trunk/nfsim/core/ipv4/ipv4.c 2004-12-13 12:08:45 UTC (rev 3348)
@@ -232,6 +232,7 @@
rth->u.dst.output = ip_output;
rth->u.dst.input = ip_local_deliver;
rth->u.dst.dev = &loopback_dev;
+ rth->u.dst.pmtu = 1500;
rth->rt_src = rth->fl.fl4_src
= flp->fl4_src;
rth->rt_dst = rth->fl.fl4_dst
@@ -265,6 +266,7 @@
rth->u.dst.dev = route->interface;
rth->u.dst.output = ip_output;
rth->u.dst.input = NULL;
+ rth->u.dst.pmtu = 1500;
rth->rt_src = rth->fl.fl4_src = flp->fl4_src;
if (!rth->rt_src)
rth->rt_src
More information about the netfilter-cvslog
mailing list