All of lore.kernel.org
 help / color / mirror / Atom feed
* Re : Re : Re : Re : Bug in using inet_lookup ()
@ 2007-11-15 16:57 Nj A
  2007-11-15 17:30 ` Evgeniy Polyakov
  0 siblings, 1 reply; 2+ messages in thread
From: Nj A @ 2007-11-15 16:57 UTC (permalink / raw)
  To: Evgeniy Polyakov; +Cc: netdev, kaber, davem

> 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.

Is there any clean manner to come across this issue?


Cheers,


      _____________________________________________________________________________ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 

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

* Re: Re : Re : Re : Re : Bug in using inet_lookup ()
  2007-11-15 16:57 Re : Re : Re : Re : Bug in using inet_lookup () Nj A
@ 2007-11-15 17:30 ` Evgeniy Polyakov
  0 siblings, 0 replies; 2+ messages in thread
From: Evgeniy Polyakov @ 2007-11-15 17:30 UTC (permalink / raw)
  To: Nj A; +Cc: netdev, kaber, davem

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

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

end of thread, other threads:[~2007-11-15 17:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-15 16:57 Re : Re : Re : Re : Bug in using inet_lookup () Nj A
2007-11-15 17:30 ` Evgeniy Polyakov

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.