svn commit: r345612 - stable/12/sys/dev/cxgbe

Navdeep Parhar np at FreeBSD.org
Tue Sep 3 14:05:54 UTC 2019


Author: np
Date: Wed Mar 27 21:50:07 2019
New Revision: 345612
URL: https://svnweb.freebsd.org/changeset/base/345612

Log:
  MFC r343233:
  
  cxgbe(4): Clear the reply-pending status of a hashfilter when the reply
  indicates an error.  Also, do not remove it twice from the hf list in
  this case.
  
  Submitted by:	Krishnamraju Eraparaju @ Chelsio
  Sponsored by:	Chelsio Communicatons

Modified:
  stable/12/sys/dev/cxgbe/t4_filter.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/dev/cxgbe/t4_filter.c
==============================================================================
--- stable/12/sys/dev/cxgbe/t4_filter.c	Wed Mar 27 21:50:01 2019	(r345611)
+++ stable/12/sys/dev/cxgbe/t4_filter.c	Wed Mar 27 21:50:07 2019	(r345612)
@@ -1229,6 +1229,7 @@ t4_hashfilter_ao_rpl(struct sge_iq *iq, const struct r
 		/* provide errno instead of tid to ioctl */
 		f->tid = act_open_rpl_status_to_errno(status);
 		f->valid = 0;
+		f->pending = 0;
 		if (act_open_has_tid(status))
 			release_tid(sc, GET_TID(cpl), &sc->sge.ctrlq[0]);
 		free_filter_resources(f);
@@ -1587,7 +1588,6 @@ set_hashfilter(struct adapter *sc, struct t4_filter *t
 				f->locked = 0;
 				t->idx = f->tid;
 			} else {
-				remove_hf(sc, f);
 				rc = f->tid;
 				free(f, M_CXGBE);
 			}




More information about the svn-src-all mailing list