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]);
        }
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to