commit | 0d0e2426859ed8976dab36497efce87fb237041e | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Wed Nov 08 15:49:15 2017 +0900 |
committer | Harald Welte <laforge@gnumonks.org> | Tue Nov 14 00:08:51 2017 +0900 |
tree | bfd553425625706fa2ec71a39e013ccb270d0cdf | |
parent | 698a2339ebf0b2ebb753c572e2e81e208b2d6bdd [diff] |
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
diff --git a/ggsn/ggsn.c b/ggsn/ggsn.c index 6aa4210..1d4e592 100644 --- a/ggsn/ggsn.c +++ b/ggsn/ggsn.c
@@ -130,6 +130,7 @@ 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");