Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Nov 2019 18:55:50 +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-11@freebsd.org
Subject:   svn commit: r355238 - stable/11/sys/dev/cxgbe/tom
Message-ID:  <201911301855.xAUItof2007435@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: np
Date: Sat Nov 30 18:55:50 2019
New Revision: 355238
URL: https://svnweb.freebsd.org/changeset/base/355238

Log:
  MFC r349242:
  
  cxgbe/t4_tom: DDP_DEAD is a ddp flag and not a toepcb flag.
  
  The driver was in effect setting TPF_ABORT_SHUTDOWN on the toepcb
  instead of what was intended.
  
  Sponsored by:	Chelsio Communications

Modified:
  stable/11/sys/dev/cxgbe/tom/t4_ddp.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/dev/cxgbe/tom/t4_ddp.c
==============================================================================
--- stable/11/sys/dev/cxgbe/tom/t4_ddp.c	Sat Nov 30 18:05:38 2019	(r355237)
+++ stable/11/sys/dev/cxgbe/tom/t4_ddp.c	Sat Nov 30 18:55:50 2019	(r355238)
@@ -225,7 +225,7 @@ release_ddp_resources(struct toepcb *toep)
 	int i;
 
 	DDP_LOCK(toep);
-	toep->flags |= DDP_DEAD;
+	toep->ddp.flags |= DDP_DEAD;
 	for (i = 0; i < nitems(toep->ddp.db); i++) {
 		free_ddp_buffer(toep->td, &toep->ddp.db[i]);
 	}



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