From c5dddc6694154edeb51543d4339d37e901952fae Mon Sep 17 00:00:00 2001 From: Navdeep Parhar Date: Tue, 6 Nov 2012 18:58:57 +0000 Subject: [PATCH] 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 --- sys/dev/cxgbe/tom/t4_listen.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/cxgbe/tom/t4_listen.c b/sys/dev/cxgbe/tom/t4_listen.c index 60c72c94d1c4..05d11b36b8ac 100644 --- a/sys/dev/cxgbe/tom/t4_listen.c +++ b/sys/dev/cxgbe/tom/t4_listen.c @@ -1202,6 +1202,7 @@ do_pass_accept_req(struct sge_iq *iq, const struct rss_header *rss, 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();