Date: Wed, 24 Feb 2016 18:53:52 +0100 From: Ed Schouten <ed@nuxi.nl> To: Steven Hartland <steven.hartland@multiplay.co.uk> Cc: Ed Schouten <ed@freebsd.org>, src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r295974 - head/sys/kern Message-ID: <CABh_MKnrbabEL2vYPGdvT%2B5c6oxjKvyWms4w_ipak3UcRD%2BioQ@mail.gmail.com> In-Reply-To: <56CDE508.5000903@multiplay.co.uk> References: <201602241710.u1OHAWwM086142@repo.freebsd.org> <56CDE508.5000903@multiplay.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Steven, 2016-02-24 18:14 GMT+01:00 Steven Hartland <steven.hartland@multiplay.co.uk>: > This should really be commented to this effect in the code otherwise someone > reading the source will think its a mistake. Good point. I also looked at the code a bit more and it looks like we now call unp_drop() with errno == ECONNRESET unconditionally, meaning we can simplify the code a bit. What do you think of the following patch? http://80386.nl/pub/20160224-socket-econnreset.txt Thanks, -- Ed Schouten <ed@nuxi.nl> Nuxi, 's-Hertogenbosch, the Netherlands KvK-nr.: 62051717
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABh_MKnrbabEL2vYPGdvT%2B5c6oxjKvyWms4w_ipak3UcRD%2BioQ>