summaryrefslogtreecommitdiff
path: root/net/sched/act_nat.c
diff options
context:
space:
mode:
authorDavid Ward <david.ward@ll.mit.edu>2015-05-10 02:01:47 (GMT)
committerDavid S. Miller <davem@davemloft.net>2015-05-11 17:26:26 (GMT)
commit145a42b3a964c6647464f05bd58aa33787de7f75 (patch)
treec93e40ebcbd51735960eb43eae359df280a0bb54 /net/sched/act_nat.c
parent665a6cd809f43eec2b51413816a4178a3390a870 (diff)
downloadlinux-145a42b3a964c6647464f05bd58aa33787de7f75.tar.xz
net_sched: gred: use correct backlog value in WRED mode
In WRED mode, the backlog for a single virtual queue (VQ) should not be used to determine queue behavior; instead the backlog is summed across all VQs. This sum is currently used when calculating the average queue lengths. It also needs to be used when determining if the queue's hard limit has been reached, or when reporting each VQ's backlog via netlink. q->backlog will only be used if the queue switches out of WRED mode. Signed-off-by: David Ward <david.ward@ll.mit.edu> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/act_nat.c')
0 files changed, 0 insertions, 0 deletions