Attention is currently required from: laforge, keith, dexter.
View Change
1 comment:
File src/input/e1d.c:
Patch Set #4, Line 123: if (bfd->list.next && bfd->list.next != LLIST_POISON1)
I always go through the whole patchset, fix all comments and then I push. […]
No, it doesn't, because osmo_fd_is_registered() can be costly, and in most ocassions you know if the fd is registered or not.
This check of bfd->list.next smells like something not thought enough and that can be simplified. Can't you guarantee that if fd >= 0 then it is for sure registered and hence can be unconditionally urnegistered in this code path?
To view, visit change 32374. To unsubscribe, or for help writing mail filters, visit settings.
Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Change-Id: Iaf4d42c2f009b1d7666e319fabdeb2598aa0b338
Gerrit-Change-Number: 32374
Gerrit-PatchSet: 6
Gerrit-Owner: dexter <pmaier@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: keith <keith@rhizomatica.org>
Gerrit-CC: laforge <laforge@osmocom.org>
Gerrit-CC: pespin <pespin@sysmocom.de>
Gerrit-CC: tnt <tnt@246tNt.com>
Gerrit-Attention: laforge <laforge@osmocom.org>
Gerrit-Attention: keith <keith@rhizomatica.org>
Gerrit-Attention: dexter <pmaier@sysmocom.de>
Gerrit-Comment-Date: Wed, 26 Apr 2023 12:24:55 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin@sysmocom.de>
Comment-In-Reply-To: dexter <pmaier@sysmocom.de>
Gerrit-MessageType: comment