A bug in nf_reinject()?
Hello,
It seems that the line tagged '-' should be the one tagged '+',
am I right?
void nf_reinject(struct sk_buff *skb, struct nf_info *info,
unsigned int verdict)
{
......
list_for_each_rcu(i, &nf_hooks[info->pf][info->hook])
{
if (i == elem) break;
}
- if (elem == &nf_hooks[info->pf][info->hook]) {
+ if (i == &nf_hooks[info->pf][info->hook]) {
/* The module which sent it to userspace is gone. */
NFDEBUG("%s: module disappeared, dropping
packet.\n",
__FUNCTION__);
verdict = NF_DROP;
}
......
}_________________________________________________________
Do You Yahoo!?
繁华世界里,让我看清你
http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.surveys.yahoo.com/cn_user_profile_study_dec2003