aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2015-12-15 13:56:16 +0000
committerDavid S. Miller <[email protected]>2015-12-15 18:11:05 +0000
commit389e4e04ad2d4887c7bdd7c01a93d3dfa5c14a06 (patch)
tree8f5de9d64c1b5c2b5db94774ddd9c0b586cee172 /net/unix/af_unix.c
parentsfc: fix a timeout loop (diff)
downloadkernel-389e4e04ad2d4887c7bdd7c01a93d3dfa5c14a06.tar.gz
kernel-389e4e04ad2d4887c7bdd7c01a93d3dfa5c14a06.zip
qlcnic: fix a timeout loop
The problem here is that at the end of the loop we test for if idc->vnic_wait_limit is zero, but since idc->vnic_wait_limit-- is a post-op, it actually ends up set to (u8)-1. I have fixed this by moving the decrement inside the loop. Fixes: 486a5bc77a4a ('qlcnic: Add support for 83xx suspend and resume.') Signed-off-by: Dan Carpenter <[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