From: Olaf Kirch <okir@suse.de>
To: Yasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp>
Cc: netfilter-devel@lists.netfilter.org, usagi-users@linux-ipv6.org
Subject: (usagi-users 02866) Re: ip6t_REJECT dst underflow
Date: Fri, 26 Mar 2004 10:08:59 +0100 [thread overview]
Message-ID: <20040326090859.GB671@suse.de> (raw)
In-Reply-To: <200403260726.QAA02087@toshiba.co.jp>
On Fri, Mar 26, 2004 at 04:25:32PM +0900, Yasuyuki Kozakai wrote:
> I think this patch is for ip6t_REJECT in USAGI kernel (linux 2.6.x), right ?
> I applied your patch to USAGI tree.
Right. I thought this stuff originated from netfilter.org, however,
which is why I cc'ed netfilter-devel. If that's not the case, sorry
for the noise.
Olaf
>
> Thank you for your report.
>
> From: Olaf Kirch <okir@suse.de>
> 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@suse.de | tempfile names today!
> > ---------------+
>
> -----------------------------------------------------------------
> Yasuyuki KOZAKAI @ USAGI Project <yasuyuki.kozakai@toshiba.co.jp>
--
Olaf Kirch | Stop wasting entropy - start using predictable
okir@suse.de | tempfile names today!
---------------+
prev parent reply other threads:[~2004-03-26 9:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-25 13:43 ip6t_REJECT dst underflow Olaf Kirch
2004-03-26 7:25 ` Yasuyuki Kozakai
2004-03-26 7:45 ` Yasuyuki Kozakai
2004-03-26 9:08 ` Olaf Kirch [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040326090859.GB671@suse.de \
--to=okir@suse.de \
--cc=netfilter-devel@lists.netfilter.org \
--cc=usagi-users@linux-ipv6.org \
--cc=yasuyuki.kozakai@toshiba.co.jp \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.