@@ -701,9 +701,14 @@ EXPORT_SYMBOL_GPL(nf_nat_l3proto_unregister);
/* No one using conntrack by the time this called. */
static void nf_nat_cleanup_conntrack(struct nf_conn *ct)
{
- if (ct->status & IPS_SRC_NAT_DONE)
- rhltable_remove(&nf_nat_bysource_table, &ct->nat_bysource,
+ int err;
+
+ if (ct->status & IPS_SRC_NAT_DONE) {
+ err = rhltable_remove(&nf_nat_bysource_table, &ct->nat_bysource,
nf_nat_bysource_params);
+ if (err == -ENOENT)
+ printk("%s, not found\n", __func__);
+ }
}
static struct nf_ct_ext_type nat_extend __read_mostly = {