Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Nov 2012 18:58:58 +0000 (UTC)
From:      Navdeep Parhar <np@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r242666 - head/sys/dev/cxgbe/tom
Message-ID:  <201211061858.qA6IwwJe028927@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: np
Date: Tue Nov  6 18:58:57 2012
New Revision: 242666
URL: http://svnweb.freebsd.org/changeset/base/242666

Log:
  Remove the tid from the software table (and bump down the in-use
  counter) when the syncache doesn't want the driver to reply to an
  incoming SYN.  This fixes a harmless bug where tids_in_use would
  go out of sync with the hardware counter.
  
  MFC after:	3 days

Modified:
  head/sys/dev/cxgbe/tom/t4_listen.c

Modified: head/sys/dev/cxgbe/tom/t4_listen.c
==============================================================================
--- head/sys/dev/cxgbe/tom/t4_listen.c	Tue Nov  6 17:20:17 2012	(r242665)
+++ head/sys/dev/cxgbe/tom/t4_listen.c	Tue Nov  6 18:58:57 2012	(r242666)
@@ -1202,6 +1202,7 @@ do_pass_accept_req(struct sge_iq *iq, co
 		if (m)
 			m->m_pkthdr.rcvif = ifp;
 
+		remove_tid(sc, synqe->tid);
 		release_synqe(synqe);	/* about to exit function */
 		free(wr, M_CXGBE);
 		REJECT_PASS_ACCEPT();



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