[PATCH] osmo-ggsn[master]: gtp-kernel: shut down kernel GTP device in apn_down()

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Mon Nov 13 15:00:50 UTC 2017


Hello Jenkins Builder,

I'd like you to reexamine a change.  Please visit

    https://gerrit.osmocom.org/4816

to look at the new patch set (#2).

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
---
M ggsn/ggsn.c
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-ggsn refs/changes/16/4816/2

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");

-- 
To view, visit https://gerrit.osmocom.org/4816
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Idd250dd454a1603834d388884a24a63e044fdd7b
Gerrit-PatchSet: 2
Gerrit-Project: osmo-ggsn
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list