Branch: refs/heads/master Home: https://github.com/dtaht/ns-3-dev Commit: c904617aeb639ea55975fe391f2a59fa91b0dd66 https://github.com/dtaht/ns-3-dev/commit/c904617aeb639ea55975fe391f2a59fa91b0dd66 Author: Andrew McGregor Date: 2012-08-15 (Wed, 15 Aug 2012) Changed paths: M src/network/utils/codel-queue.cc Log Message: ----------- Implement patch from linux: From: Eric Dumazet One condition before codel_Newton_step() was not good if we never left the dropping state for a flow. As a result rec_inv_sqrt was 0, instead of the ~0 initial value. codel control law was then set to a very aggressive mode, dropping many packets before reaching 'target' and recovering from this problem. To keep codel_vars_init() as efficient as possible, refine the condition to make sure rec_inv_sqrt initial value is correct Many thanks to Anton Mich for discovering the issue and suggesting a fix.