Attention is currently required from: laforge, fixeria, pespin.

arehbein has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/31533 )

Change subject: common: Have PCU socket connection use osmo_wqueue
......................................................................


Patch Set 9:

(3 comments)

File src/common/pcu_sock.c:

https://gerrit.osmocom.org/c/osmo-bts/+/31533/comment/cf3a2798_23dd8c05
PS6, Line 990:          pcu_sock_close(state);
> Indeed, the API doc clearly states: […]
my thinking was, if `pcu_sock_send()` doesn't create the `struct msgb`, then it 
wouldn't have to delete it.

But I suppose `pcu_sock_send()` would cause the message buffer deletion after 
it has been sent/the sending queue has been cleared, so that's why we add it 
here (?)


https://gerrit.osmocom.org/c/osmo-bts/+/31533/comment/3361d224_e652fa2b
PS6, Line 1093: struct msgb *m
> I would keep the usual naming, i.e. `msg`. […]
Done


https://gerrit.osmocom.org/c/osmo-bts/+/31533/comment/47dc2de1_364a9a98
PS6, Line 1106:                         rc = 
osmo_wqueue_enqueue(&state->upqueue, m);
> Yes, this is likely what pespin meant. […]
Thanks for the reference, I'm now returning `-errno` just in case `write()` 
causes `errno` to be `EBADF`.



--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/31533
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Ia6e61dda4b3cd4bba76e6acb7771d70335062fe1
Gerrit-Change-Number: 31533
Gerrit-PatchSet: 9
Gerrit-Owner: arehbein <arehb...@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanits...@sysmocom.de>
Gerrit-Reviewer: pespin <pes...@sysmocom.de>
Gerrit-CC: laforge <lafo...@osmocom.org>
Gerrit-Attention: laforge <lafo...@osmocom.org>
Gerrit-Attention: fixeria <vyanits...@sysmocom.de>
Gerrit-Attention: pespin <pes...@sysmocom.de>
Gerrit-Comment-Date: Thu, 08 Jun 2023 21:43:42 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: arehbein <arehb...@sysmocom.de>
Comment-In-Reply-To: fixeria <vyanits...@sysmocom.de>
Comment-In-Reply-To: pespin <pes...@sysmocom.de>
Gerrit-MessageType: comment

Reply via email to