diff options
author | Chad Dupuis | 2017-05-31 06:33:51 -0700 |
---|---|---|
committer | Martin K. Petersen | 2017-06-12 20:48:06 -0400 |
commit | 53c51adbe6f83eba94fd39000f98cf4235a89e4c (patch) | |
tree | f7a0ea23b17003ea2408655d1a90ea236ca7cdf5 /drivers/i2c/algos | |
parent | 914fff102e00455bb867871e612b65524839d271 (diff) |
scsi: qedf: Look at all descriptors when processing a clear virtual link.
If there are multiple descriptors for a particular type in a clear virtual
link we receive, we will not process it correctly but rather take the last
value. This can cause us not to not flap the virtual link as the value from
the descriptors that we compare against the our stored FCF or fc_lport values
may not match.
Change this to do a comparison when processing the each descriptor instead of at
the end and then set a bool if we need to do the reset.
Signed-off-by: Chad Dupuis <chad.dupuis@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/i2c/algos')
0 files changed, 0 insertions, 0 deletions