All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] compilation error + kernel panic sip-conntrack-nat
@ 2006-03-27 13:56 Ralf Schlatterbeck
  2006-03-29  8:41 ` Patrick McHardy
  0 siblings, 1 reply; 4+ messages in thread
From: Ralf Schlatterbeck @ 2006-03-27 13:56 UTC (permalink / raw)
  To: netfilter-devel

The following patch fixes a compilation problem for 2.6.16 (two missing
includes) and a kernel panic on the first sip packets (reproduced with
2.6.15.4 and 2.6.16, tested only with 2.6.16). The kernel-panic fix is
from the mailinglist-archive but obviously didn't yet make it into
the official tree yet.

Note: The FAQ-Entry about SIP 
http://www.netfilter.org/documentation/FAQ/netfilter-faq-1.html#ss1.8
should be updated to point to sip-conntrack-nat, see
http://www.iptel.org/sipalg/
The conntrack module would surely get more testing if it is mentioned in
the FAQ :-)


--- linux/net/ipv4/netfilter/ip_conntrack_sip.c.before-rsc	2006-03-27 08:41:10.000000000 +0200
+++ linux/net/ipv4/netfilter/ip_conntrack_sip.c	2006-03-27 10:18:57.101716429 +0200
@@ -13,6 +13,8 @@
 #include <linux/netfilter.h>
 #include <linux/ip.h>
 #include <linux/ctype.h>
+#include <linux/in.h>
+#include <linux/udp.h>
 #include <net/checksum.h>
 #include <net/udp.h>
 
@@ -296,7 +298,7 @@
 		return NF_ACCEPT;
         }
         
-	ip_ct_refresh_acct(ct, ctinfo, NULL, sip_timeout * HZ);
+	ip_ct_refresh(ct, *pskb, sip_timeout * HZ);
 		
 	spin_lock_bh(&sipbf_lock);
 	


Ralf
-- 
Ralf Schlatterbeck

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] compilation error + kernel panic sip-conntrack-nat
  2006-03-27 13:56 [PATCH] compilation error + kernel panic sip-conntrack-nat Ralf Schlatterbeck
@ 2006-03-29  8:41 ` Patrick McHardy
  2006-03-29  9:03   ` Ralf Schlatterbeck
  0 siblings, 1 reply; 4+ messages in thread
From: Patrick McHardy @ 2006-03-29  8:41 UTC (permalink / raw)
  To: Ralf Schlatterbeck; +Cc: netfilter-devel

Ralf Schlatterbeck wrote:
> The following patch fixes a compilation problem for 2.6.16 (two missing
> includes) and a kernel panic on the first sip packets (reproduced with
> 2.6.15.4 and 2.6.16, tested only with 2.6.16). The kernel-panic fix is
> from the mailinglist-archive but obviously didn't yet make it into
> the official tree yet.

I actually have a version with some more fixes I wanted to submit (since
quite some time), but I haven't gotten around to fixing the last
remaining issue, so I've applied your patch for now. Thanks.

> Note: The FAQ-Entry about SIP 
> http://www.netfilter.org/documentation/FAQ/netfilter-faq-1.html#ss1.8
> should be updated to point to sip-conntrack-nat, see
> http://www.iptel.org/sipalg/
> The conntrack module would surely get more testing if it is mentioned in
> the FAQ :-)

Feel free to send a patch :)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] compilation error + kernel panic sip-conntrack-nat
  2006-03-29  8:41 ` Patrick McHardy
@ 2006-03-29  9:03   ` Ralf Schlatterbeck
  2006-03-29  9:07     ` Patrick McHardy
  0 siblings, 1 reply; 4+ messages in thread
From: Ralf Schlatterbeck @ 2006-03-29  9:03 UTC (permalink / raw)
  To: Patrick McHardy; +Cc: netfilter-devel

On Wed, Mar 29, 2006 at 10:41:10AM +0200, Patrick McHardy wrote:
> Ralf Schlatterbeck wrote:
> > Note: The FAQ-Entry about SIP 
> > http://www.netfilter.org/documentation/FAQ/netfilter-faq-1.html#ss1.8
> > should be updated to point to sip-conntrack-nat, see
> > http://www.iptel.org/sipalg/
> > The conntrack module would surely get more testing if it is mentioned in
> > the FAQ :-)
> 
> Feel free to send a patch :)

Can you tell me where I should look for the sources? Is this directly
maintained in HTML? For the other documents I suppose the SGML version
is the original -- but for the FAQ there isn't an SGML document.

Ralf
-- 
Ralf Schlatterbeck

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] compilation error + kernel panic sip-conntrack-nat
  2006-03-29  9:03   ` Ralf Schlatterbeck
@ 2006-03-29  9:07     ` Patrick McHardy
  0 siblings, 0 replies; 4+ messages in thread
From: Patrick McHardy @ 2006-03-29  9:07 UTC (permalink / raw)
  To: Ralf Schlatterbeck; +Cc: netfilter-devel

Ralf Schlatterbeck wrote:
> On Wed, Mar 29, 2006 at 10:41:10AM +0200, Patrick McHardy wrote:
> 
>>Ralf Schlatterbeck wrote:
>>
>>>Note: The FAQ-Entry about SIP 
>>>http://www.netfilter.org/documentation/FAQ/netfilter-faq-1.html#ss1.8
>>>should be updated to point to sip-conntrack-nat, see
>>>http://www.iptel.org/sipalg/
>>>The conntrack module would surely get more testing if it is mentioned in
>>>the FAQ :-)
>>
>>Feel free to send a patch :)
> 
> 
> Can you tell me where I should look for the sources? Is this directly
> maintained in HTML? For the other documents I suppose the SGML version
> is the original -- but for the FAQ there isn't an SGML document.

I only I knew .. The FAQ stuff is under output/ in the SVN repository,
so I suppose there must be an input somewhere :)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-03-29  9:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-27 13:56 [PATCH] compilation error + kernel panic sip-conntrack-nat Ralf Schlatterbeck
2006-03-29  8:41 ` Patrick McHardy
2006-03-29  9:03   ` Ralf Schlatterbeck
2006-03-29  9:07     ` Patrick McHardy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.