Skip to content
Success

Changes

Summary

  1. hnbgw: Fix wrong map object retrieved from hashtable (details)
Commit 37adb3e15277851089cc787a14c5dce87a6d8f52 by Pau Espin Pedrol
hnbgw: Fix wrong map object retrieved from hashtable

If several map objects (mapping between RUA and SCCP transports for a
given Iu connection) ended up in the same hashtable bucket, then the
first one was always returned by map_from_conn_id().

As a result, when such collisions happened (e.g. when a big number of
connections were inserted) a user could see a Iu message coming from SCCP
connection "A" end up being forwarded to an unrelated RUA connection
"B".

Related: SYS#6602
Change-Id: I107f461bf5bcb92262422c893b23d190659f6f72
The file was modifiedsrc/osmo-hnbgw/hnbgw_cn.c