|
@@ -57,7 +57,7 @@ void nf_ct_unlink_expect_report(struct nf_conntrack_expect *exp,
|
|
|
hlist_del_rcu(&exp->hnode);
|
|
|
net->ct.expect_count--;
|
|
|
|
|
|
- hlist_del(&exp->lnode);
|
|
|
+ hlist_del_rcu(&exp->lnode);
|
|
|
master_help->expecting[exp->class]--;
|
|
|
|
|
|
nf_ct_expect_event_report(IPEXP_DESTROY, exp, portid, report);
|
|
@@ -363,7 +363,7 @@ static void nf_ct_expect_insert(struct nf_conntrack_expect *exp)
|
|
|
/* two references : one for hash insert, one for the timer */
|
|
|
atomic_add(2, &exp->use);
|
|
|
|
|
|
- hlist_add_head(&exp->lnode, &master_help->expectations);
|
|
|
+ hlist_add_head_rcu(&exp->lnode, &master_help->expectations);
|
|
|
master_help->expecting[exp->class]++;
|
|
|
|
|
|
hlist_add_head_rcu(&exp->hnode, &nf_ct_expect_hash[h]);
|