]> git.baikalelectronics.ru Git - kernel.git/commit
net_sched: gred: eliminate redundant DP prio comparisons
authorDavid Ward <david.ward@ll.mit.edu>
Thu, 13 Sep 2012 05:22:33 +0000 (05:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Sep 2012 20:10:13 +0000 (16:10 -0400)
commit442f6cdd3e3230116ef2ce00816d3e82dad432f1
tree361fcb9ccd626dff3ab49ac8914bdeca1d73b367
parentedad956996bb9c0098a31c0c88a1f8dc7c8067c2
net_sched: gred: eliminate redundant DP prio comparisons

Each pair of DPs only needs to be compared once when searching for
a non-unique prio value.

Signed-off-by: David Ward <david.ward@ll.mit.edu>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_gred.c