Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Mar 2016 03:09:01 +0000 (UTC)
From:      "Pedro F. Giffuni" <pfg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r297056 - stable/10/sys/dev/qlxgb
Message-ID:  <201603200309.u2K391ic034703@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 			}
 		}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603200309.u2K391ic034703>