Date: Wed, 21 Oct 2020 22:10:55 +0000 From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 250366] [tcp] The ioctl of socket fd should return -1 after listen to avoid misusing. Message-ID: <bug-250366-7501-S0S6h6Qo2b@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-250366-7501@https.bugs.freebsd.org/bugzilla/> References: <bug-250366-7501@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250366 Michael Tuexen <tuexen@freebsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |In Progress --- Comment #2 from Michael Tuexen <tuexen@freebsd.org> --- A fix is under review D26897. Avoiding accessing the send and receive buffe= rs is necessary. Instead of returning an error, one could return 0 in all case= s. Right now, I prefer to return an error. Let's see how the discussion of the review goes... --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-250366-7501-S0S6h6Qo2b>