Attention is currently required from: pespin.
osmith has posted comments on this change by pespin. (
https://gerrit.osmocom.org/c/libosmo-sigtran/+/39708?usp=email )
Change subject: AS loadsharing: Normal route distribution regardless of active state
......................................................................
Patch Set 1: Code-Review+1
(1 comment)
File src/osmo_ss7_combined_linkset.c:
https://gerrit.osmocom.org/c/libosmo-sigtran/+/39708/comment/f9599e83_3dec1…
:
PS1, Line 215: struct osmo_ss7_route *rt_found = NULL;
maybe shorten it as follows, without using rt_found?
```c
static struct osmo_ss7_route *ss7_combined_linkset_assign_route_roundrobin(struct
osmo_ss7_combined_linkset *clset)
{
struct osmo_ss7_route *rt = NULL;
unsigned int i;
for (i = 0; i < clset->num_routes; i++) {
rt = ss7_llist_round_robin(&clset->routes,
&clset->last_route_roundrobin_ass, struct osmo_ss7_route, list);
if (rt)
break;
}
return rt;
}
```
--
To view, visit
https://gerrit.osmocom.org/c/libosmo-sigtran/+/39708?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: I6daf114416c69c84bdc3042efcaf2918f91c2e87
Gerrit-Change-Number: 39708
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Thu, 06 Mar 2025 11:24:31 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes