pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-netif/+/29301 )
Change subject: osmux: osmux_xfrm_input_close_circuit(): Log circuit not found ......................................................................
osmux: osmux_xfrm_input_close_circuit(): Log circuit not found
Change-Id: I486b81d15b4d9d6abd08fbd73ca460bae22586a9 --- M src/osmux.c 1 file changed, 4 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-netif refs/changes/01/29301/1
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); }