unlink_sainfo_from_ph2(iph2->sainfo);
iph2->sainfo = NULL;
}
+ if (iph2->ext_nat_id) {
+ vfree(iph2->ext_nat_id);
+ iph2->ext_nat_id = NULL;
+ }
+ if (iph2->ext_nat_id_p) {
+ vfree(iph2->ext_nat_id_p);
+ iph2->ext_nat_id_p = NULL;
+ }
#endif
racoon_free(iph2);
}
}
- sched_new(lt, sweep_recvdpkt, NULL);
+ sched_new(lt, sweep_recvdpkt, &rcptree);
}
void
rem_recvdpkt(r);
del_recvdpkt(r);
}
+ sched_scrub_param(&rcptree);
}
void
LIST_INIT(&rcptree);
- sched_new(lt, sweep_recvdpkt, NULL);
+ sched_new(lt, sweep_recvdpkt, &rcptree);
}
#ifdef ENABLE_HYBRID