Author: pfg
Date: Fri Feb 19 18:05:02 2016
New Revision: 295822
URL: https://svnweb.freebsd.org/changeset/base/295822
Log:
qlxgb: fix mismatch.
Found by: PVS Static Analysis
Reviewed by: davidcs
MFC after: 1 month
Modified:
head/sys/dev/qlxgb/qla_hw.c
Modified: head/sys/dev/qlxgb/qla_hw.c
==============================================================================
--- head/sys/dev/qlxgb/qla_hw.c Fri Feb 19 17:34:11 2016 (r295821)
+++ head/sys/dev/qlxgb/qla_hw.c Fri Feb 19 18:05:02 2016 (r295822)
@@ -797,7 +797,8 @@ qla_tx_tso(qla_host_t *ha, struct mbuf *
}
if ((*tcp_opt != 0x01) || (*(tcp_opt + 1) != 0x01) ||
- (*(tcp_opt + 2) != 0x08) || (*(tcp_opt + 2) !=
10)) {
+ (*(tcp_opt + 2) != 0x08) ||
+ (*(tcp_opt + 3) != 10)) {
return -1;
}
}
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"