r4727 - in dists/sid/linux-2.6/debian: . patches-debian patches-debian/series

Dann Frazier dannf at costa.debian.org
Fri Nov 4 04:24:18 UTC 2005


Author: dannf
Date: 2005-11-04 04:24:17 +0000 (Fri, 04 Nov 2005)
New Revision: 4727

Added:
   dists/sid/linux-2.6/debian/patches-debian/net-ipconntrack-nat-fix.patch
   dists/sid/linux-2.6/debian/patches-debian/series/2.6.14-3
Modified:
   dists/sid/linux-2.6/debian/changelog
Log:
* net-ipconntrack-nat-fix.patch - fix compilation of
  ip_conntrack_helper_pptp.c when NAT is disabled. (Closes: #336431)

Modified: dists/sid/linux-2.6/debian/changelog
===================================================================
--- dists/sid/linux-2.6/debian/changelog	2005-11-04 04:07:28 UTC (rev 4726)
+++ dists/sid/linux-2.6/debian/changelog	2005-11-04 04:24:17 UTC (rev 4727)
@@ -22,8 +22,12 @@
     all sorts of weird stuff happens which is hard for the inird builders to
     automatically compenste for. (Closes: #336450)
 
- -- Simon Horman <horms at debian.org>  Fri,  4 Nov 2005 13:03:49 +0900
+  [ dann frazier ]
+  * net-ipconntrack-nat-fix.patch - fix compilation of
+    ip_conntrack_helper_pptp.c when NAT is disabled. (Closes: #336431)
 
+ -- dann frazier <dannf at debian.org>  Thu,  3 Nov 2005 21:20:29 -0700
+
 linux-2.6 (2.6.14-2) unstable; urgency=low
 
   [ Simon Horman ]

Added: dists/sid/linux-2.6/debian/patches-debian/net-ipconntrack-nat-fix.patch
===================================================================
--- dists/sid/linux-2.6/debian/patches-debian/net-ipconntrack-nat-fix.patch	2005-11-04 04:07:28 UTC (rev 4726)
+++ dists/sid/linux-2.6/debian/patches-debian/net-ipconntrack-nat-fix.patch	2005-11-04 04:24:17 UTC (rev 4727)
@@ -0,0 +1,37 @@
+diff --git a/net/ipv4/netfilter/ip_conntrack_helper_pptp.c b/net/ipv4/netfilter/ip_conntrack_helper_pptp.c
+--- a/net/ipv4/netfilter/ip_conntrack_helper_pptp.c
++++ b/net/ipv4/netfilter/ip_conntrack_helper_pptp.c
+@@ -270,14 +270,10 @@ exp_gre(struct ip_conntrack *master,
+ 	exp_orig->expectfn = pptp_expectfn;
+ 	exp_orig->flags = 0;
+ 
+-	exp_orig->dir = IP_CT_DIR_ORIGINAL;
+-
+ 	/* both expectations are identical apart from tuple */
+ 	memcpy(exp_reply, exp_orig, sizeof(*exp_reply));
+ 	memcpy(&exp_reply->tuple, &exp_tuples[1], sizeof(exp_reply->tuple));
+ 
+-	exp_reply->dir = !exp_orig->dir;
+-
+ 	if (ip_nat_pptp_hook_exp_gre)
+ 		ret = ip_nat_pptp_hook_exp_gre(exp_orig, exp_reply);
+ 	else {
+diff --git a/net/ipv4/netfilter/ip_nat_helper_pptp.c b/net/ipv4/netfilter/ip_nat_helper_pptp.c
+--- a/net/ipv4/netfilter/ip_nat_helper_pptp.c
++++ b/net/ipv4/netfilter/ip_nat_helper_pptp.c
+@@ -216,6 +216,7 @@ pptp_exp_gre(struct ip_conntrack_expect 
+ 	expect_orig->saved_proto.gre.key = htons(nat_pptp_info->pac_call_id);
+ 	expect_orig->tuple.src.u.gre.key = htons(nat_pptp_info->pns_call_id);
+ 	expect_orig->tuple.dst.u.gre.key = htons(ct_pptp_info->pac_call_id);
++	expect_orig->dir = IP_CT_DIR_ORIGINAL;
+ 	inv_t.src.ip = reply_t->src.ip;
+ 	inv_t.dst.ip = reply_t->dst.ip;
+ 	inv_t.src.u.gre.key = htons(nat_pptp_info->pac_call_id);
+@@ -233,6 +234,7 @@ pptp_exp_gre(struct ip_conntrack_expect 
+ 	expect_reply->saved_proto.gre.key = htons(nat_pptp_info->pns_call_id);
+ 	expect_reply->tuple.src.u.gre.key = htons(nat_pptp_info->pac_call_id);
+ 	expect_reply->tuple.dst.u.gre.key = htons(ct_pptp_info->pns_call_id);
++	expect_reply->dir = IP_CT_DIR_REPLY;
+ 	inv_t.src.ip = orig_t->src.ip;
+ 	inv_t.dst.ip = orig_t->dst.ip;
+ 	inv_t.src.u.gre.key = htons(nat_pptp_info->pns_call_id);

Added: dists/sid/linux-2.6/debian/patches-debian/series/2.6.14-3
===================================================================
--- dists/sid/linux-2.6/debian/patches-debian/series/2.6.14-3	2005-11-04 04:07:28 UTC (rev 4726)
+++ dists/sid/linux-2.6/debian/patches-debian/series/2.6.14-3	2005-11-04 04:24:17 UTC (rev 4727)
@@ -0,0 +1 @@
++ net-ipconntrack-nat-fix.patch




More information about the Kernel-svn-changes mailing list