diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-12-24 12:21:22 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-12-24 11:02:35 -0500 |
commit | 3358a5c0c1578fa215f90a0e750579cd6258ddd9 (patch) | |
tree | 5c6e34a1101d9ae83020cde8a279a59ff7cf94e0 /net/sctp/socket.c | |
parent | 1dfddff5fcd869fcab0c52fafae099dfa435a935 (diff) | |
download | lwn-3358a5c0c1578fa215f90a0e750579cd6258ddd9.tar.gz lwn-3358a5c0c1578fa215f90a0e750579cd6258ddd9.zip |
qlcnic: fix a loop exit condition better
In the original code, if we succeeded on the last iteration through the
loop then we still returned failure.
Fixes: 389e4e04ad2d ('qlcnic: fix a timeout loop')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/socket.c')
0 files changed, 0 insertions, 0 deletions