SOURCES (LINUX_2_6): kernel-routes.patch - updated to 2.6.28

adamg adamg at pld-linux.org
Thu Dec 25 21:49:02 CET 2008


Author: adamg                        Date: Thu Dec 25 20:49:02 2008 GMT
Module: SOURCES                       Tag: LINUX_2_6
---- Log message:
- updated to 2.6.28

---- Files affected:
SOURCES:
   kernel-routes.patch (1.1.2.3 -> 1.1.2.4) 

---- Diffs:

================================================================
Index: SOURCES/kernel-routes.patch
diff -u SOURCES/kernel-routes.patch:1.1.2.3 SOURCES/kernel-routes.patch:1.1.2.4
--- SOURCES/kernel-routes.patch:1.1.2.3	Fri Oct 17 10:41:07 2008
+++ SOURCES/kernel-routes.patch	Thu Dec 25 21:48:57 2008
@@ -948,11 +948,11 @@
 @@ -77,13 +77,28 @@ masquerade_tg(struct sk_buff *skb, const
  		return NF_ACCEPT;
  
- 	mr = targinfo;
+ 	mr = par->targinfo;
 -	rt = skb->rtable;
--	newsrc = inet_select_addr(out, rt->rt_gateway, RT_SCOPE_UNIVERSE);
+-	newsrc = inet_select_addr(par->out, rt->rt_gateway, RT_SCOPE_UNIVERSE);
 -	if (!newsrc) {
--		printk("MASQUERADE: %s ate my IP address\n", out->name);
+-		printk("MASQUERADE: %s ate my IP address\n", par->out->name);
 -		return NF_DROP;
 +
 +	{
@@ -963,8 +963,8 @@
 +						.gw = skb->rtable->rt_gateway,
 +					      } },
 +				    .mark = skb->mark,
-+				    .oif = out->ifindex };
-+		if (ip_route_output_key(dev_net(out), &rt, &fl) != 0) {
++				    .oif = par->out->ifindex };
++		if (ip_route_output_key(dev_net(par->out), &rt, &fl) != 0) {
 +			/* Funky routing can do this. */
 +			if (net_ratelimit())
 +				printk("MASQUERADE:"
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/kernel-routes.patch?r1=1.1.2.3&r2=1.1.2.4&f=u



More information about the pld-cvs-commit mailing list