]> Git Repo - linux.git/commit - lib/dynamic_queue_limits.c
bql: Avoid possible inconsistent calculation.
authorHiroaki SHIMODA <[email protected]>
Wed, 30 May 2012 12:25:37 +0000 (12:25 +0000)
committerDavid S. Miller <[email protected]>
Thu, 31 May 2012 22:18:17 +0000 (18:18 -0400)
commit914bec1011a25f65cdc94988a6f974bfb9a3c10d
tree2651e473b6f02888b595f215fbfb9710e6e231ff
parent25426b794efdc70dde7fd3134dc56fac3e7d562d
bql: Avoid possible inconsistent calculation.

dql->num_queued could change while processing dql_completed().
To provide consistent calculation, added an on stack variable.

Signed-off-by: Hiroaki SHIMODA <[email protected]>
Cc: Tom Herbert <[email protected]>
Cc: Eric Dumazet <[email protected]>
Cc: Denys Fedoryshchenko <[email protected]>
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
lib/dynamic_queue_limits.c
This page took 0.05252 seconds and 4 git commands to generate.