Date: Tue, 16 Aug 2016 15:14:09 +0200 From: Hans Petter Selasky <hps@selasky.org> To: Randall Stewart <rrs@netflix.com> Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r304218 - head/sys/netinet Message-ID: <61c62080-1529-a717-fbfc-4f4baed56c3e@selasky.org> In-Reply-To: <272AD783-2988-4EE7-89A5-EC6FA1313122@netflix.com> References: <201608161240.u7GCeuWS082118@repo.freebsd.org> <92a3cfc1-56bc-813f-dd12-ac19c66fd716@selasky.org> <272AD783-2988-4EE7-89A5-EC6FA1313122@netflix.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 08/16/16 15:01, Randall Stewart wrote: > Sure > > Let me add some comments for you. The idea her is that you pick-up a reference > to the PCB.. so it can’t be removed. Thus when you re-lock the INP you check the > dropped flag (just in case someone did get in). And this code is only used before tcp_close() / tcp_drop(), so if others got in it is safe to assume that the inp is dead? --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?61c62080-1529-a717-fbfc-4f4baed56c3e>