diff options
author | Alexander Van Parys <alexander.vanparys_ext@softathome.com> | 2021-06-30 20:12:46 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2021-06-30 21:01:50 +0200 |
commit | 4fc532c8a55ba8217ad67d7fd47c5eb9a8aba044 (patch) | |
tree | 854617e218bfcfea86abb716e5d097bd570bc7bc /.gitignore | |
parent | a8cf678230ed163ff7a07eb1e2c872f9d655460a (diff) | |
download | ubus-4fc532c8a55ba8217ad67d7fd47c5eb9a8aba044.tar.gz |
ubusd: fix tx_queue linked list usage
Use the correct parameters for list_add_tail when enqueueing a message
in the tx_queue. Previously, list_add_tail(list, entry) was used instead
of list_add_tail(entry, list). Due to this, the list would only contain
the latest entry, and previously inserted entries were left dangling.
Reset the tx_queue offset after a message from the tx_queue has been sent
completely.
Signed-off-by: Alexander Van Parys <alexander.vanparys_ext@softathome.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions