diff options
author | Ed Cashin <ecashin@coraid.com> | 2012-12-18 01:03:47 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-18 02:15:24 +0100 |
commit | 0d555ecfa468f6dc29697829844f2f79909e376f (patch) | |
tree | 53e9ad45f578f0eed1a64309e825afc8d576ae29 /ipc/ipcns_notifier.c | |
parent | aoe: err device: include MAC addresses for unexpected responses (diff) | |
download | linux-0d555ecfa468f6dc29697829844f2f79909e376f.tar.xz linux-0d555ecfa468f6dc29697829844f2f79909e376f.zip |
aoe: manipulate aoedev network stats under lock
With this bugfix in place the calculation of the criterion for "lateness"
is performed under lock. Without the lock, there is a chance that one of
the non-atomic operations performed on the round trip time statistics
could be incomplete, such that an incorrect lateness criterion would be
calculated.
Without this change, the effect of the bug would be rare unecessary but
benign retransmissions.
Signed-off-by: Ed Cashin <ecashin@coraid.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc/ipcns_notifier.c')
0 files changed, 0 insertions, 0 deletions