[Bug 275146] [tcp] odd error handling from net.inet.tcp.functions_default sysctl
| 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.