On Thu, Nov 15, 2007 at 04:57:17PM +0000, Nj A ([EMAIL PROTECTED]) 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
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to