Attention is currently required from: jolly.

lynxis lazus has posted comments on this change by jolly. ( 
https://gerrit.osmocom.org/c/osmo-remsim/+/42664?usp=email )

Change subject: Fix: Prevent race conditions when accessing slotmap in bankd
......................................................................


Patch Set 1:

(2 comments)

File src/bankd/bankd_main.c:

https://gerrit.osmocom.org/c/osmo-remsim/+/42664/comment/2c053d85_bb75810f?usp=email
 :
PS1, Line 1115:                         
slotmaps_rdlock(g_worker->bankd->slotmaps);
write lock?


File src/slotmap.h:

https://gerrit.osmocom.org/c/osmo-remsim/+/42664/comment/50b0f742_03a4c965?usp=email
 :
PS1, Line 74: struct slot_mapping *slotmap_by_client(struct slotmaps *maps, 
const struct client_slot *client);
maybe add a postfix to the functions: _lock and _nolock?



--
To view, visit https://gerrit.osmocom.org/c/osmo-remsim/+/42664?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: osmo-remsim
Gerrit-Branch: master
Gerrit-Change-Id: I3464726f37beb7c47b4e1f00c018ffa4f3948906
Gerrit-Change-Number: 42664
Gerrit-PatchSet: 1
Gerrit-Owner: jolly <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: lynxis lazus <[email protected]>
Gerrit-Attention: jolly <[email protected]>
Gerrit-Comment-Date: Thu, 23 Apr 2026 12:28:34 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No

Reply via email to