daniel submitted this change.

View Change



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

Approvals: Jenkins Builder: Verified pespin: Looks good to me, but someone else must approve lynxis lazus: Looks good to me, but someone else must approve fixeria: Looks good to me, approved
tcap_as_loadshare: Use tcap_trans_track_begin instead of *_entry_create

*_begin checks for a matching entry and reuses that (with an updated
timestamp). This avoids duplicate entries in the tcap cache.

Related: SYS#5423
Change-Id: Icbaab976ed8207843129291494176679db574304
---
M src/tcap_as_loadshare.c
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/tcap_as_loadshare.c b/src/tcap_as_loadshare.c
index 635fd73..c549610 100644
--- a/src/tcap_as_loadshare.c
+++ b/src/tcap_as_loadshare.c
@@ -350,7 +350,7 @@
return -8;
}

- tcap_trans_track_entry_create(as, asp, &calling_addr, &parsed.otid, &called_addr, NULL);
+ tcap_trans_track_begin(as, asp, &calling_addr, &parsed.otid, &called_addr, NULL);
break;
case TCAP_TCMessage_PR_continue:
if (!((rc & OTID_SET) && (rc & DTID_SET))) {

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

Gerrit-MessageType: merged
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: Icbaab976ed8207843129291494176679db574304
Gerrit-Change-Number: 42685
Gerrit-PatchSet: 2
Gerrit-Owner: daniel <dwillmann@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann@sysmocom.de>
Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de>
Gerrit-Reviewer: lynxis lazus <lynxis@fe80.eu>
Gerrit-Reviewer: pespin <pespin@sysmocom.de>