Author: np
Date: Thu Jun 20 20:06:19 2019
New Revision: 349242
URL: https://svnweb.freebsd.org/changeset/base/349242
Log:
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.
MFC after: 1 week
Sponsored by: Chelsio Communications
Modified:
head/sys/dev/cxgbe/tom/t4_ddp.c
Modified: head/sys/dev/cxgbe/tom/t4_ddp.c
==============================================================================
--- head/sys/dev/cxgbe/tom/t4_ddp.c Thu Jun 20 18:30:19 2019
(r349241)
+++ head/sys/dev/cxgbe/tom/t4_ddp.c Thu Jun 20 20:06:19 2019
(r349242)
@@ -220,7 +220,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]);
}
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"