public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
To: Nj A <nj_a83@yahoo.fr>
Cc: netdev@vger.kernel.org, kaber@trash.net, davem@davemloft.net
Subject: Re: Re : Re : Re : Re : Bug in using inet_lookup ()
Date: Thu, 15 Nov 2007 20:30:58 +0300	[thread overview]
Message-ID: <20071115173054.GA1606@2ka.mipt.ru> (raw)
In-Reply-To: <455140.87973.qm@web26108.mail.ukl.yahoo.com>

On Thu, Nov 15, 2007 at 04:57:17PM +0000, Nj A (nj_a83@yahoo.fr) wrote:
> > Well, your code will oops just like before - you provide empty skb to
> > the inet_iif(), which is wrong. Actually you will not even reach that
> > point, since your code will exit after skb->dev check.
> > 
> > Try simple inet_lookup(&tcp_hashinfo, src, p_src, dst, p_dst, 0).
> 
> But trying  inet_lookup(&tcp_hashinfo, src, p_src, dst, p_dst, 0), the machine either hangs or panics.

Hmmm, it does not.
Please show at least one bug trace when inet_lookup(&tcp_hashinfo, 0, 0, 0, 0, 0) fails :)

> Is there any clean manner to come across this issue?

Yes, to show the code you are using.
Sorry, all mind readers are on vacations.

-- 
	Evgeniy Polyakov

      reply	other threads:[~2007-11-15 17:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-15 16:57 Re : Re : Re : Re : Bug in using inet_lookup () Nj A
2007-11-15 17:30 ` Evgeniy Polyakov [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=20071115173054.GA1606@2ka.mipt.ru \
    --to=johnpol@2ka.mipt.ru \
    --cc=davem@davemloft.net \
    --cc=kaber@trash.net \
    --cc=netdev@vger.kernel.org \
    --cc=nj_a83@yahoo.fr \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox