svn commit: r297056 - stable/10/sys/dev/qlxgb

Pedro F. Giffuni pfg at FreeBSD.org
Sun Mar 20 03:09:03 UTC 2016


Author: pfg
Date: Sun Mar 20 03:09:01 2016
New Revision: 297056
URL: https://svnweb.freebsd.org/changeset/base/297056

Log:
  MFC r295822:
  qlxgb: fix mismatch.
  
  Found by:	PVS Static Analysis
  Reviewed by:	davidcs

Modified:
  stable/10/sys/dev/qlxgb/qla_hw.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/qlxgb/qla_hw.c
==============================================================================
--- stable/10/sys/dev/qlxgb/qla_hw.c	Sat Mar 19 23:07:05 2016	(r297055)
+++ stable/10/sys/dev/qlxgb/qla_hw.c	Sun Mar 20 03:09:01 2016	(r297056)
@@ -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;
 			}
 		}


More information about the svn-src-all mailing list