[Bug 276583] openvpn DSO: sys/net/if_ovpn.c return ENOSPC, need: ENOBUF

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 24 Jan 2024 09:50:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276583

Eugene Grosbein <eugen@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eugen@freebsd.org

--- Comment #2 from Eugene Grosbein <eugen@freebsd.org> ---
(In reply to Kristof Provost from comment #1)

Submitter reports about cosmetic problem in the if_ovpn code that returns
misleading ENOSPC (probably, due to linux-specific code style) instead of
ENOBUFS.

Userland daemon openvpn prints this error to its log then. That's because of
another bug in the daemon that supplies fixed-size (4096 bytes) to an ioctl()
that needs more space to fit the result.

-- 
You are receiving this mail because:
You are the assignee for the bug.