]> 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)
commit0b20802a67376f14065a7d08447bba4ae8bac0ec
tree361fcb9ccd626dff3ab49ac8914bdeca1d73b367
parent8fbbb9a38ff5c02c343afb6a740ce83a17815f9a
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