netfilter-2.6/patch-o-matic-ng/trunk/net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c

pluto cvs at pld-linux.org
Sun Jun 19 14:29:18 CEST 2005


Author: pluto
Date: Sun Jun 19 14:29:17 2005
New Revision: 6155

Modified:
   netfilter-2.6/patch-o-matic-ng/trunk/net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c
Log:
- 2.6.12 api call fixed.


Modified: netfilter-2.6/patch-o-matic-ng/trunk/net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c
==============================================================================
--- netfilter-2.6/patch-o-matic-ng/trunk/net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c	(original)
+++ netfilter-2.6/patch-o-matic-ng/trunk/net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c	Sun Jun 19 14:29:17 2005
@@ -212,7 +212,7 @@
 	/* Local packets are never produced too large for their
 	   interface.  We degfragment them at LOCAL_OUT, however,
 	   so we have to refragment them here. */
-	if ((*pskb)->len > dst_pmtu(&rt->u.dst) &&
+	if ((*pskb)->len > dst_mtu(&rt->u.dst) &&
 	    !skb_shinfo(*pskb)->tso_size) {
 		/* No hook can be after us, so this should be OK. */
 		ip_fragment(*pskb, okfn);



More information about the pld-cvs-commit mailing list