Date: Wed, 10 Sep 2025 19:52:00 +0000 From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 275146] [tcp] odd error handling from net.inet.tcp.functions_default sysctl Message-ID: <bug-275146-7501-G1FVMIsm9j@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-275146-7501@https.bugs.freebsd.org/bugzilla/> References: <bug-275146-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=275146 --- Comment #2 from Michael Tuexen <tuexen@freebsd.org> --- 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275146-7501-G1FVMIsm9j>
