diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-11-26 13:08:12 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-11-26 21:00:52 +0100 |
commit | 7a5f3c2153beb5f92b39a93b02ead76bcd0c6150 (patch) | |
tree | 434d90ff5e6e1cfb8702eb77d6943652d35ddf2b /src/tbf.h | |
parent | 7f3e662b3412a028254796420d7761d8c84c8fd2 (diff) |
tbf/sched: We pick the _last_ entry, rotate the lists
We always pick the _last_ entry from the lists. Let's rotate
so we make it a bit more fair.
Diffstat (limited to 'src/tbf.h')
-rw-r--r-- | src/tbf.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -135,6 +135,9 @@ struct gprs_rlcmac_tbf { uint16_t sns() const; + /* attempt to make things a bit more fair */ + void rotate_in_list(); + struct llist_head list; uint32_t state_flags; enum gprs_rlcmac_tbf_direction direction; |