Skip to content
Success

Changes

Summary

  1. AS loadsharing: Pick 1st ASP upon 1st roundrobin assignment (details)
  2. ipa: Use pseudo-random number for SLS in TCP-client too (details)
Commit 3e5c3d4184b868ebc39691552e634df14be61164 by Pau Espin Pedrol
AS loadsharing: Pick 1st ASP upon 1st roundrobin assignment

Before this patch, the AS started filling it's loadsharing tables with
the 2nd ASP in the list, which is actually fine too but a bit
unexpected when debugging.

Change-Id: I9ac08d371dde2cfd433be22f1fb6cd01d6ef12be
The file was modifiedsrc/osmo_ss7_as.c
Commit ed998c884fec743c603c08844faa75169ae2a292 by Pau Espin Pedrol
ipa: Use pseudo-random number for SLS in TCP-client too

Previous commit (see below) replaced the SLS generation from using
the LSB of the file descriptor to a pseudo-random SLS since the former
didn't really achieve enough entropy in real world use cases.

However, that commit only applied it for TCP-server conns, but forgot to
update TCP-client ones.
Present commit fixes that missing part. asp->asp_id is already being set
using a pseudo-randome number in xua_cli_connect_cb().

Fixes: 2c9ba16c2c0210a189c72064eafad5ef336254cd
Related: SYS#6543
Related: SYS#6802
Change-Id: I837505868b608ac5ed658a7e98bb3eeebe3e852c
The file was modifiedsrc/osmo_ss7_asp.c