SOURCES (LINUX_2_6): kernel-pom-ng-ROUTE.patch - and more

zbyniu zbyniu at pld-linux.org
Thu May 8 23:33:28 CEST 2008


Author: zbyniu                       Date: Thu May  8 21:33:28 2008 GMT
Module: SOURCES                       Tag: LINUX_2_6
---- Log message:
- and more

---- Files affected:
SOURCES:
   kernel-pom-ng-ROUTE.patch (1.1.2.9 -> 1.1.2.10) 

---- Diffs:

================================================================
Index: SOURCES/kernel-pom-ng-ROUTE.patch
diff -u SOURCES/kernel-pom-ng-ROUTE.patch:1.1.2.9 SOURCES/kernel-pom-ng-ROUTE.patch:1.1.2.10
--- SOURCES/kernel-pom-ng-ROUTE.patch:1.1.2.9	Thu May  8 11:51:43 2008
+++ SOURCES/kernel-pom-ng-ROUTE.patch	Thu May  8 23:33:23 2008
@@ -170,7 +170,7 @@
 +		fl.fl4_dst = route_info->gw;
 +	
 +	/* Trying to route the packet using the standard routing table. */
-+	if ((err = ip_route_output_key(&rt, &fl))) {
++	if ((err = ip_route_output_key(&init_net, &rt, &fl))) {
 +		if (net_ratelimit()) 
 +			DEBUGP("ipt_ROUTE: couldn't route pkt (err: %i)",err);
 +		return -1;
@@ -410,7 +410,7 @@
 +				} 
 +			};
 +
-+			if (ip_route_output_key(&rt, &fl)) {
++			if (ip_route_output_key(&init_net, &rt, &fl)) {
 +				return NF_DROP;
 +			}
 +
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/kernel-pom-ng-ROUTE.patch?r1=1.1.2.9&r2=1.1.2.10&f=u



More information about the pld-cvs-commit mailing list