]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r242666, r242671.
authornp <np@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 15 Nov 2012 19:45:04 +0000 (19:45 +0000)
committernp <np@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 15 Nov 2012 19:45:04 +0000 (19:45 +0000)
commite19a3e62fc1a07faeea4ff6cc48861d63c0df6fa
tree33318d3d8b720da70714837ae387105e0463a2d8
parent693bfb4317580c75579ff17f33ec85fa6f65d5af
MFC r242666, r242671.

r242666:
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.

r242671:
Make sure the inp hasn't been dropped before trying to access its socket
and tcpcb.

git-svn-id: svn://svn.freebsd.org/base/stable/9@243098 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/cxgbe/tom/t4_cpl_io.c
sys/dev/cxgbe/tom/t4_listen.c