summaryrefslogtreecommitdiff
path: root/ubusd_acl.c
diff options
context:
space:
mode:
authorAlexander Van Parys <alexander.vanparys_ext@softathome.com>2021-06-30 20:12:46 +0200
committerFelix Fietkau <nbd@nbd.name>2021-06-30 21:01:50 +0200
commit4fc532c8a55ba8217ad67d7fd47c5eb9a8aba044 (patch)
tree854617e218bfcfea86abb716e5d097bd570bc7bc /ubusd_acl.c
parenta8cf678230ed163ff7a07eb1e2c872f9d655460a (diff)
downloadubus-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 'ubusd_acl.c')
0 files changed, 0 insertions, 0 deletions