[Bug 275146] [tcp] odd error handling from net.inet.tcp.functions_default sysctl

[email protected]
Newsgroups gmane.os.freebsd.devel.net
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275146

--- Comment #2 from Michael Tuexen <[email protected]> ---
The current code now returns `ENOENT` if the requested TCP function block does
not exist, `EINVAL` is returned if the requested function block cannot be the
default function block.  I think returning these different error causes makes
sense. It would be less informative to return `EINVAL` in both cases...

So I would vote for keeping the `errno` values as we have currently.

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.