diff options
author | Pau Espin Pedrol <pespin@espeweb.net> | 2021-03-02 13:19:39 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@espeweb.net> | 2021-03-02 18:24:46 +0100 |
commit | 8afc6bad806ac6255a04f0aae8d01a9249a05b1f (patch) | |
tree | 1f5ff95b177c89386f2059610eb6a14ff3e1a15d /tests/types | |
parent | 5b9d0bb8e5d75e705a6829055d2b6d142a3a200c (diff) |
tbf_dl: Fix m_last_dl_drained_fn not set under some conditions
Old commit getting rid of LLC UI dummy and updating create_new_bsn()
function introduced a bug by not moving update of value m_last_dl_drained_fn
prior to a new break introduced.
As a result, the value is not updated in the case LLC queue becomes
drained but last few bytes are drained at exactly that moment.
Furthermore, then the IDLE tbf timer (X2031, keep_open())) returns always
true since according to it the drain never happened.
The impact of the bug is basically delaying a bit more than expected the
time the TBF stays in IDLE state with the TBF release process yet
to be started.
Related: OS#4849
Fixes: 7d0f9a0ec383fcfca934731bd6979b6be6629c90
Change-Id: I7420aeffda3500bcdc990291e4a56511af433ff9
Diffstat (limited to 'tests/types')
0 files changed, 0 insertions, 0 deletions