pespin submitted this change.

View Change

Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved osmith: Looks good to me, approved
osmux: osmux_xfrm_input_close_circuit(): Log circuit not found

Change-Id: I486b81d15b4d9d6abd08fbd73ca460bae22586a9
---
M src/osmux.c
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/osmux.c b/src/osmux.c
index 71afe5c..5515e88 100644
--- a/src/osmux.c
+++ b/src/osmux.c
@@ -843,8 +843,11 @@
struct osmux_circuit *circuit;

circuit = osmux_batch_find_circuit(batch, ccid);
- if (circuit == NULL)
+ if (circuit == NULL) {
+ LOGP(DLMUX, LOGL_NOTICE, "Unable to close circuit %d: Not found\n",
+ ccid);
return;
+ }

osmux_batch_del_circuit(batch, circuit);
}

1 is the latest approved patch-set. No files were changed between the latest approved patch-set and the submitted one.

To view, visit change 29301. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Change-Id: I486b81d15b4d9d6abd08fbd73ca460bae22586a9
Gerrit-Change-Number: 29301
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge@osmocom.org>
Gerrit-Reviewer: osmith <osmith@sysmocom.de>
Gerrit-Reviewer: pespin <pespin@sysmocom.de>
Gerrit-MessageType: merged