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
This commit is contained in:
Navdeep Parhar 2012-11-06 18:58:57 +00:00
parent 8d7f35458a
commit c5dddc6694
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=242666

View File

@ -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();