Re: [PATCH v2] sch_api: Change signature of qdisc_tree_reduce_backlog() to use ints

2019-01-19 Thread David Miller
From: Toke Høiland-Jørgensen Date: Wed, 9 Jan 2019 17:10:57 +0100 > There are now several places where qdisc_tree_reduce_backlog() is called > with a negative number of packets (to signal an increase in number of > packets in the queue). Rather than rely on overflow behaviour, change the > funct

[PATCH v2] sch_api: Change signature of qdisc_tree_reduce_backlog() to use ints

2019-01-09 Thread Toke Høiland-Jørgensen
There are now several places where qdisc_tree_reduce_backlog() is called with a negative number of packets (to signal an increase in number of packets in the queue). Rather than rely on overflow behaviour, change the function signature to use signed integers to communicate this usage to people read