Skip to content
Failed

Changes

Summary

  1. hnbgw: Fix wrong map object retrieved from hashtable (details)
Commit b4311b73ec543c01237406b5e1c44ba44198704e 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
Fixes: f3caea850bc892551cd09bbaf49f798c172590c4
Change-Id: I107f461bf5bcb92262422c893b23d190659f6f72
(cherry picked from commit e6d87ff967fe614e917d8d9434bc5bd5a6f3d3d6)
The file was modifiedsrc/osmo-hnbgw/hnbgw_cn.c