[Bug 250366] [tcp] The ioctl of socket fd should return -1 after listen to avoid misusing.

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Oct 21 22:10:55 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250366

Michael Tuexen <tuexen at freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |In Progress

--- Comment #2 from Michael Tuexen <tuexen at freebsd.org> ---
A fix is under review D26897. Avoiding accessing the send and receive buffers
is necessary. Instead of returning an error, one could return 0 in all cases.
Right now, I prefer to return an error. Let's see how the discussion of the
review goes...

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-net mailing list