diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2014-11-06 12:35:57 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2014-11-06 12:35:57 +0300 |
commit | b276238f8721849c364cf718f854c7b07a706254 (patch) | |
tree | 7072b043b36de7c82c6f2be745b6901c86c7ba38 /accel-pppd/ppp/ipv6cp_opt_intfid.c | |
parent | 22e13bac6488cfbb939fc1f54133f966a0cc1e62 (diff) | |
download | accel-ppp-b276238f8721849c364cf718f854c7b07a706254.tar.gz accel-ppp-b276238f8721849c364cf718f854c7b07a706254.zip |
release IP addresses before fire EV_SESSION_FINISHED (fixes segfault when using IPoE)
Diffstat (limited to 'accel-pppd/ppp/ipv6cp_opt_intfid.c')
-rw-r--r-- | accel-pppd/ppp/ipv6cp_opt_intfid.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/accel-pppd/ppp/ipv6cp_opt_intfid.c b/accel-pppd/ppp/ipv6cp_opt_intfid.c index 11b35ff7..d2b8127a 100644 --- a/accel-pppd/ppp/ipv6cp_opt_intfid.c +++ b/accel-pppd/ppp/ipv6cp_opt_intfid.c @@ -108,11 +108,6 @@ static void ipaddr_free(struct ppp_ipv6cp_t *ipv6cp, struct ipv6cp_option_t *opt { struct ipaddr_option_t *ipaddr_opt=container_of(opt,typeof(*ipaddr_opt),opt); - if (ipv6cp->ppp->ses.ipv6) { - ipdb_put_ipv6(&ipv6cp->ppp->ses, ipv6cp->ppp->ses.ipv6); - ipv6cp->ppp->ses.ipv6 = NULL; - } - _free(ipaddr_opt); } |