]> git.baikalelectronics.ru Git - kernel.git/commit
net-sched: fix bfifo default limit
authorPatrick McHardy <kaber@trash.net>
Wed, 6 May 2009 23:45:07 +0000 (16:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 May 2009 23:45:07 +0000 (16:45 -0700)
commit7303bef4a9edf2562422d5ad5c99ed95956cfe82
tree07ffb4657f49dc3fc6e53167da5053e15c2492ef
parentbe7d64e45a33386b332139b064c75d066ef0994a
net-sched: fix bfifo default limit

When no limit is given, the bfifo uses a default of tx_queue_len * mtu.
Packets handled by qdiscs include the link layer header, so this should
be taken into account, similar to what other qdiscs do.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_fifo.c