diff options
| author | Colin Ian King <[email protected]> | 2017-08-18 13:12:06 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-08-18 17:58:33 +0000 |
| commit | a120d9ab65354727559b9db75ded8071b7ef19e2 (patch) | |
| tree | adf2dd18549834743e6e0d8ec8f805b56def2ac1 /net/unix/af_unix.c | |
| parent | nfp: fix infinite loop on umapping cleanup (diff) | |
| download | kernel-a120d9ab65354727559b9db75ded8071b7ef19e2.tar.gz kernel-a120d9ab65354727559b9db75ded8071b7ef19e2.zip | |
netxen: fix incorrect loop counter decrement
The loop counter k is currently being decremented from zero which
is incorrect. Fix this by incrementing k instead
Detected by CoverityScan, CID#401847 ("Infinite loop")
Fixes: 83f18a557c6d ("netxen_nic: fw dump support")
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
