a bug in nf_reinject()?
Hello,
It seems that the line tagged '-' should be the line 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!?
完全免费的雅虎电邮,马上注册获赠额外60兆网络存储空间
http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.mail.yahoo.com