Attention is currently required from: arehbein.
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/33892 )
Change subject: bsc (WIP): Make socket queue max. length configurable ......................................................................
Patch Set 4:
(2 comments)
File src/osmo-bsc/bsc_vty.c:
https://gerrit.osmocom.org/c/osmo-bsc/+/33892/comment/75d5d4f9_f3c3c43d PS1, Line 2491: }
I suppose it's possible to check if the current wqueue length is larger than the new maximum right i […]
If you set a maximum len on a queue, you definettly don't want your queue to be in a state where the len is over that maximum.
File src/osmo-bsc/bsc_vty.c:
https://gerrit.osmocom.org/c/osmo-bsc/+/33892/comment/4999ce07_f3d8c2ba PS4, Line 2486: net->pcu_state->upqueue.max_length = net->pcu_sock_wqueue_len_max; use wqueue API which internally drops enqueued messages > max