netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: v3.10-rc7 oops soon after boot
       [not found]   ` <20130624113441.GA2583@localhost>
@ 2013-06-24 15:10     ` Pablo Neira Ayuso
  2013-06-24 16:13       ` Borislav Petkov
  0 siblings, 1 reply; 5+ messages in thread
From: Pablo Neira Ayuso @ 2013-06-24 15:10 UTC (permalink / raw)
  To: Gao feng
  Cc: George Spelvin, bp, kaber, linux-kernel, netfilter,
	netfilter-devel

On Mon, Jun 24, 2013 at 01:34:41PM +0200, Pablo Neira Ayuso wrote:
> On Mon, Jun 24, 2013 at 05:52:08PM +0800, Gao feng wrote:
> > On 06/24/2013 05:41 PM, George Spelvin wrote:
> > >> Please try the patch below,
> > >> I think this bug is introduced by me :(
> > >>
> > >> Thanks!
> > > 
> > > Well, you changed it, but it still crashes.
> > > 
> > > It's now at del_timer+0x9/0x58, with the code being:
> > 
> > This one should work.
> > 
> > Thanks for your quickly reply.
> 
> I managed to crash it using a group != 1 (default) and enabling
> batching:
> 
> iptables -I INPUT -j ULOG --ulog-nlgroup 2 --ulog-qthresh 50
> 
> It seems ulog->nlgroup[i] is always left unset.
> 
> I have mangled your patch, find it attached.

> From 79da8ea854c06ca9320decbb2f9d2e8d25b2f7e5 Mon Sep 17 00:00:00 2001
> From: Gao feng <gaofeng@cn.fujitsu.com>
> Date: Mon, 24 Jun 2013 17:04:02 +0800
> Subject: [PATCH] netfilter: ipt_ULOG: fix incorrect setting of ulog timer
> 
> The parameter of setup_timer should be &ulog->nlgroup[i].
> the incorrect parameter will cause kernel panic in
> ulog_timer.
> 
> Bug introducted in commit 355430671ad93546b34b4e91bdf720f3a704efa4
> "netfilter: ipt_ULOG: add net namespace support for ipt_ULOG"
> 
> ebt_ULOG doesn't have this problem.
> 
> Reported-by: Borislav Petkov <bp@alien8.de>
> Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>

I have applied the patch that I sent you.

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

* Re: v3.10-rc7 oops soon after boot
  2013-06-24 15:10     ` v3.10-rc7 oops soon after boot Pablo Neira Ayuso
@ 2013-06-24 16:13       ` Borislav Petkov
  2013-06-24 22:17         ` George Spelvin
  0 siblings, 1 reply; 5+ messages in thread
From: Borislav Petkov @ 2013-06-24 16:13 UTC (permalink / raw)
  To: Pablo Neira Ayuso
  Cc: Gao feng, George Spelvin, kaber, linux-kernel, netfilter,
	netfilter-devel

On Mon, Jun 24, 2013 at 05:10:31PM +0200, Pablo Neira Ayuso wrote:
> > I have mangled your patch, find it attached.
> 
> > From 79da8ea854c06ca9320decbb2f9d2e8d25b2f7e5 Mon Sep 17 00:00:00 2001
> > From: Gao feng <gaofeng@cn.fujitsu.com>
> > Date: Mon, 24 Jun 2013 17:04:02 +0800
> > Subject: [PATCH] netfilter: ipt_ULOG: fix incorrect setting of ulog timer
> > 
> > The parameter of setup_timer should be &ulog->nlgroup[i].
> > the incorrect parameter will cause kernel panic in
> > ulog_timer.
> > 
> > Bug introducted in commit 355430671ad93546b34b4e91bdf720f3a704efa4
> > "netfilter: ipt_ULOG: add net namespace support for ipt_ULOG"
> > 
> > ebt_ULOG doesn't have this problem.
> > 
> > Reported-by: Borislav Petkov <bp@alien8.de>

This should be:

Reported-by: George Spelvin <linux@horizon.com>

I only connected the dots...

:-)

-- 
Regards/Gruss,
    Boris.

Sent from a fat crate under my desk. Formatting is fine.
--

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

* Re: v3.10-rc7 oops soon after boot
  2013-06-24 16:13       ` Borislav Petkov
@ 2013-06-24 22:17         ` George Spelvin
  2013-06-24 22:34           ` Borislav Petkov
  2013-06-25  1:36           ` Gao feng
  0 siblings, 2 replies; 5+ messages in thread
From: George Spelvin @ 2013-06-24 22:17 UTC (permalink / raw)
  To: bp, pablo; +Cc: gaofeng, kaber, linux-kernel, linux, netfilter-devel, netfilter

>> Reported-by: Borislav Petkov <bp@alien8.de>

> This should be:
>
> Reported-by: George Spelvin <linux@horizon.com>
>
> I only connected the dots...

Well, you did a whole lot more than me!  I just lobbed a "d'oh, it
crashes" into the seething ocean of lkml.  (Admittedly, I had reason
to act fast: we're very close to release.)

You figured out what subsystem was at fault and got the right people
involved.  Definitely a valuable contribution.

Me, personally, I don't give a flying f*** about such credit; I had
an itch and was trolling for someone to scratch it.

So feel free to take Reported-by (you are the one who reported it *to
someone who could fix it*), Triaged-by, or whatever.

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

* Re: v3.10-rc7 oops soon after boot
  2013-06-24 22:17         ` George Spelvin
@ 2013-06-24 22:34           ` Borislav Petkov
  2013-06-25  1:36           ` Gao feng
  1 sibling, 0 replies; 5+ messages in thread
From: Borislav Petkov @ 2013-06-24 22:34 UTC (permalink / raw)
  To: George Spelvin
  Cc: pablo, gaofeng, kaber, linux-kernel, netfilter-devel, netfilter

On Mon, Jun 24, 2013 at 06:17:08PM -0400, George Spelvin wrote:
> >> Reported-by: Borislav Petkov <bp@alien8.de>
> 
> > This should be:
> >
> > Reported-by: George Spelvin <linux@horizon.com>
> >
> > I only connected the dots...
> 
> Well, you did a whole lot more than me!  I just lobbed a "d'oh, it
> crashes" into the seething ocean of lkml.  (Admittedly, I had reason
> to act fast: we're very close to release.)
> 
> You figured out what subsystem was at fault and got the right people
> involved.  Definitely a valuable contribution.
> 
> Me, personally, I don't give a flying f*** about such credit; I had
> an itch and was trolling for someone to scratch it.
> 
> So feel free to take Reported-by (you are the one who reported it *to
> someone who could fix it*), Triaged-by, or whatever.

I was basically correcting how Reported-by is used - for the bug
reporter.

And yes, it is very important for us (even if you specifically don't
give a rat's rear end :-)) to credit the people - with their permission,
of course - who report bugs. Btw, I assume it is obvious why we need all
those good bug reports...

So I'm perfectly fine with you not giving flying f*ck about crediting as
long as you keep testing -rcs and reporting issues.

:-)

Thanks!

-- 
Regards/Gruss,
    Boris.

Sent from a fat crate under my desk. Formatting is fine.
--

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

* Re: v3.10-rc7 oops soon after boot
  2013-06-24 22:17         ` George Spelvin
  2013-06-24 22:34           ` Borislav Petkov
@ 2013-06-25  1:36           ` Gao feng
  1 sibling, 0 replies; 5+ messages in thread
From: Gao feng @ 2013-06-25  1:36 UTC (permalink / raw)
  To: George Spelvin; +Cc: bp, pablo, kaber, linux-kernel, netfilter-devel, netfilter

On 06/25/2013 06:17 AM, George Spelvin wrote:
>>> Reported-by: Borislav Petkov <bp@alien8.de>
> 
>> This should be:
>>
>> Reported-by: George Spelvin <linux@horizon.com>
>>
>> I only connected the dots...
> 
> Well, you did a whole lot more than me!  I just lobbed a "d'oh, it
> crashes" into the seething ocean of lkml.  (Admittedly, I had reason
> to act fast: we're very close to release.)
> 
> You figured out what subsystem was at fault and got the right people
> involved.  Definitely a valuable contribution.
> 
> Me, personally, I don't give a flying f*** about such credit; I had
> an itch and was trolling for someone to scratch it.
> 
> So feel free to take Reported-by (you are the one who reported it *to
> someone who could fix it*), Triaged-by, or whatever.

It's my mistake, the reported-by should be you.
of course we should thank Borislav, I didn't notice this bug report
mail until he forwarded it.

Thanks all you guys! Sorry for my mistake..

> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 


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

end of thread, other threads:[~2013-06-25  2:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20130624094145.2576.qmail@science.horizon.com>
     [not found] ` <51C816C8.4080709@cn.fujitsu.com>
     [not found]   ` <20130624113441.GA2583@localhost>
2013-06-24 15:10     ` v3.10-rc7 oops soon after boot Pablo Neira Ayuso
2013-06-24 16:13       ` Borislav Petkov
2013-06-24 22:17         ` George Spelvin
2013-06-24 22:34           ` Borislav Petkov
2013-06-25  1:36           ` Gao feng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).