[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(usagi-users 02865) Re: ip6t_REJECT dst underflow
- To: okir@xxxxxxx
- Subject: (usagi-users 02865) Re: ip6t_REJECT dst underflow
- From: Yasuyuki Kozakai <yasuyuki.kozakai@xxxxxxxxxxxxx>
- Date: Fri, 26 Mar 2004 16:25:32 +0900 (JST)
- Cc: netfilter-devel@xxxxxxxxxxxxxxxxxxx, usagi-users@xxxxxxxxxxxxxx
- In-reply-to: <20040325134340.GC8500@suse.de>
- References: <20040325134340.GC8500@suse.de>
- Reply-to: usagi-users@xxxxxxxxxxxxxx
- Resent-date: Fri, 26 Mar 2004 16:40:17 +0900
- Resent-from: yoshfuji@xxxxxxxxxxxxxx
- Resent-message-id: <200403261640.FMLAAB18653.usagi-users@linux-ipv6.org>
- Resent-to: usagi-users@xxxxxxxxxxxxxx (moderated)
Hi,
I think this patch is for ip6t_REJECT in USAGI kernel (linux 2.6.x), right ?
I applied your patch to USAGI tree.
Thank you for your report.
From: Olaf Kirch <okir@xxxxxxx>
Date: Thu, 25 Mar 2004 14:43:40 +0100
> Hi,
>
> the ip6t_REJECT module currently produces dst underruns when used.
> The problem is that it assigns the dst pointer to the new skb without
> bumping its reference count. The attached patch fixes this.
>
> A second issue I came across isn't really a bug but more of
> a minor nuisance.
>
> When I configured ip6t_REJECT to reject packets to ::1 and then pinged
> ::1, I would get in my syslog
>
> Mar 25 14:16:05 hammer kernel: printk: 2 messages suppressed.
>
> without telling me what message got suppressed. The problem is that the
> code does the following in two locations:
>
> if (net_ratelimit())
> DEBUGP(....)
>
> So with debugging off, all you get is the above mentioned messages
> from net_ratelimit but nothing else. Either the DEBUGP needs to be
> converted to a printk, or the entire if() statement needs to be
> enclosed in an #if/#endif pair.
>
> Olaf
> --
> Olaf Kirch | Stop wasting entropy - start using predictable
> okir@xxxxxxx | tempfile names today!
> ---------------+
-----------------------------------------------------------------
Yasuyuki KOZAKAI @ USAGI Project <yasuyuki.kozakai@xxxxxxxxxxxxx>