osmo-bts[master]: bts-trx: Avoid enqueueing consecutive duplicate messages to TRX

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Fri Dec 8 18:22:58 UTC 2017


Patch Set 1: Code-Review-1

I was alsmost sure this introduces a flaw in the logic, but after pondering a few minutes, in the end found it to be correct indeed :)

Still I'm wondering, what is the cause for submitting the POWEROFF twice in the first place, is it possible to fix the logic at the cause instead of filtering out the error later?

Also we're now filtering any message that occurs twice, is the strcmp sufficient to ensure that the two commands are indeed redundant? Could it be the same cmd string with differing arguments, and we end up filtering out important commands now?

Marked -1 just to wait for a reply on these. If you can argue for the patch, I'll +2.

-- 
To view, visit https://gerrit.osmocom.org/5237
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ib6a5e7bfac8bc5e1b372da6a1f801c07a3d5ebb7
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-HasComments: No



More information about the gerrit-log mailing list