gtp-kernel: shut down kernel GTP device in apn_down()
When we take the APN down, we should also take the GTP device down. Change-Id: Idd250dd454a1603834d388884a24a63e044fdd7b
This commit is contained in:
parent
698a2339eb
commit
0d0e242685
|
@ -130,6 +130,7 @@ int apn_stop(struct apn_ctx *apn, bool force)
|
|||
tun_free(apn->tun.tun);
|
||||
apn->tun.tun = NULL;
|
||||
}
|
||||
gtp_kernel_stop(apn->tun.cfg.dev_name);
|
||||
|
||||
if (apn->v4.pool) {
|
||||
LOGPAPN(LOGL_INFO, apn, "Releasing IPv4 pool\n");
|
||||
|
|
Loading…
Reference in New Issue