Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Apr 2020 07:24:30 +0000 (UTC)
From:      Navdeep Parhar <np@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r360189 - stable/12/sys/dev/cxgbe/tom
Message-ID:  <202004220724.03M7OUT1043144@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: np
Date: Wed Apr 22 07:24:30 2020
New Revision: 360189
URL: https://svnweb.freebsd.org/changeset/base/360189

Log:
  MFC r359897:
  
  cxgbe(4): Make sure 'flags' is at the same offset in structs toepcb and
  synq_entry.  TAILQ_ENTRY isn't always the same size as two pointers.
  
  Reported by:	rmacklem@
  Sponsored by:	Chelsio Communications

Modified:
  stable/12/sys/dev/cxgbe/tom/t4_tom.h
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/dev/cxgbe/tom/t4_tom.h
==============================================================================
--- stable/12/sys/dev/cxgbe/tom/t4_tom.h	Wed Apr 22 07:12:18 2020	(r360188)
+++ stable/12/sys/dev/cxgbe/tom/t4_tom.h	Wed Apr 22 07:24:30 2020	(r360189)
@@ -187,11 +187,11 @@ struct aiotx_buffer {
 };
 
 struct toepcb {
-	TAILQ_ENTRY(toepcb) link; /* toep_list */
-	u_int flags;		/* miscellaneous flags */
-	int refcount;
 	struct tom_data *td;
 	struct inpcb *inp;	/* backpointer to host stack's PCB */
+	u_int flags;		/* miscellaneous flags */
+	TAILQ_ENTRY(toepcb) link; /* toep_list */
+	int refcount;
 	struct vnet *vnet;
 	struct vi_info *vi;	/* virtual interface */
 	struct sge_wrq *ofld_txq;



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