diff options
author | Manish Chopra <manish.chopra@qlogic.com> | 2014-09-22 05:51:53 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-26 15:11:31 -0400 |
commit | 3456399b031c4bd71b90521301c646b62dfd0caa (patch) | |
tree | ec7c7c14b734ac1657501ea6b07cbe0374ca54f4 /drivers/char/msm_smd_pkt.c | |
parent | 6c0fd0df0c44d1129ab65fc28d17f23a1c006a0c (diff) | |
download | linux-3456399b031c4bd71b90521301c646b62dfd0caa.tar.bz2 |
qlcnic: Fix ordering of stats in stats buffer.
o When TX queues are not allocated, driver does not fill TX queues stats in the buffer.
However, it is also not advancing data pointer by TX queue stats length, which would
misplace all successive stats data in the buffer and will result in mismatch between
stats strings and it's values.
o Fix this by advancing data pointer by TX queue stats length when
queues are not allocated.
Signed-off-by: Manish Chopra <manish.chopra@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/char/msm_smd_pkt.c')
0 files changed, 0 insertions, 0 deletions