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