svn commit: r242666 - head/sys/dev/cxgbe/tom
Navdeep Parhar
np at FreeBSD.org
Tue Nov 6 18:58:58 UTC 2012
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();
More information about the svn-src-head
mailing list