summaryrefslogtreecommitdiffstats
path: root/firmware/bnx2
diff options
context:
space:
mode:
authorHiroaki SHIMODA <shimoda.hiroaki@gmail.com>2012-05-30 12:25:37 +0000
committerDavid S. Miller <davem@davemloft.net>2012-05-31 18:18:17 -0400
commit914bec1011a25f65cdc94988a6f974bfb9a3c10d (patch)
tree2651e473b6f02888b595f215fbfb9710e6e231ff /firmware/bnx2
parent25426b794efdc70dde7fd3134dc56fac3e7d562d (diff)
downloadop-kernel-dev-914bec1011a25f65cdc94988a6f974bfb9a3c10d.zip
op-kernel-dev-914bec1011a25f65cdc94988a6f974bfb9a3c10d.tar.gz
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 <shimoda.hiroaki@gmail.com> Cc: Tom Herbert <therbert@google.com> Cc: Eric Dumazet <eric.dumazet@gmail.com> Cc: Denys Fedoryshchenko <denys@visp.net.lb> Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'firmware/bnx2')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud