]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Keep fwd_tag around for subsequent pcb lookups
authoremaste <emaste@FreeBSD.org>
Fri, 29 Mar 2013 20:51:44 +0000 (20:51 +0000)
committeremaste <emaste@FreeBSD.org>
Fri, 29 Mar 2013 20:51:44 +0000 (20:51 +0000)
commit35fe5219abd995454f3d1279b840072f555159c3
tree03bb2df2e5abb9ae4e6339ef2582ed6be37d70c0
parent2128397eaf648b65e295eba2a5b4f2d9dcc3640b
Keep fwd_tag around for subsequent pcb lookups

For TIMEWAIT handling tcp_input may have to jump back for an additional
pass through pcblookup.  Prior to this change the fwd_tag had been
discarded after the first lookup, so a new connection attempt delivered
locally via 'ipfw fwd' would fail to find a match.

As of r248886 the tag will be detached and freed when passed to the
socket buffer.
sys/netinet/tcp_input.c