[netfilter-cvslog] r3809 -
trunk/patch-o-matic-ng/pptp-conntrack-nat/linux-2.6/net/ipv4/netfilter
laforge at netfilter.org
laforge at netfilter.org
Thu Mar 31 20:40:07 CEST 2005
Author: laforge at netfilter.org
Date: 2005-03-31 20:40:07 +0200 (Thu, 31 Mar 2005)
New Revision: 3809
Modified:
trunk/patch-o-matic-ng/pptp-conntrack-nat/linux-2.6/net/ipv4/netfilter/ip_conntrack_pptp.c
Log:
Fix mistake that made skb_header_pointer() call fail (S.Eikelenboom) (Closes: #303)
Modified: trunk/patch-o-matic-ng/pptp-conntrack-nat/linux-2.6/net/ipv4/netfilter/ip_conntrack_pptp.c
===================================================================
--- trunk/patch-o-matic-ng/pptp-conntrack-nat/linux-2.6/net/ipv4/netfilter/ip_conntrack_pptp.c 2005-03-29 09:01:10 UTC (rev 3808)
+++ trunk/patch-o-matic-ng/pptp-conntrack-nat/linux-2.6/net/ipv4/netfilter/ip_conntrack_pptp.c 2005-03-31 18:40:07 UTC (rev 3809)
@@ -9,7 +9,7 @@
* GRE is defined in RFC 1701 and RFC 1702. Documentation of
* PPTP can be found in RFC 2637
*
- * (C) 2000-2003 by Harald Welte <laforge at gnumonks.org>
+ * (C) 2000-2005 by Harald Welte <laforge at gnumonks.org>
*
* Development of this code funded by Astaro AG (http://www.astaro.com/)
*
@@ -264,7 +264,7 @@
}
reqlen = datalen - sizeof(struct pptp_pkt_hdr) - sizeof(_ctlh);
- pptpReq = skb_header_pointer(skb, ctlhoff+sizeof(struct pptp_pkt_hdr),
+ pptpReq = skb_header_pointer(skb, ctlhoff+sizeof(_ctlh),
reqlen, &_pptpReq);
if (unlikely(!pptpReq)) {
DEBUGP("error during skb_header_pointer\n");
@@ -488,7 +488,7 @@
case PPTP_OUT_CALL_REQUEST:
if (reqlen < sizeof(_pptpReq.ocreq)) {
DEBUGP("%s: short packet\n", strMName[msg]);
- break;
+ /* FIXME: break; */
}
/* client initiating connection to server */
More information about the netfilter-cvslog
mailing list