[Openvpn-devel] [PATCH] dco: pass control packets through the socket on FreeBSD

2022-11-26 Thread Kristof Provost via Openvpn-devel
From: Kristof Provost FreeBSD allows packets to be sent through the socket even when the if_dco driver is active, so prefer that path. Also remove the FreeBSD dco_do_write() implementation, as this function will never be called any more on FreeBSD. Assert this. Signed-off-by: Kristof Provost -

Re: [Openvpn-devel] [PATCH] dco: pass control packets through the socket on FreeBSD

2022-11-25 Thread Gert Doering
Hi, On Fri, Nov 25, 2022 at 04:53:41PM +0100, Kristof Provost via Openvpn-devel wrote: > Also remove the FreeBSD dco_do_write() implementation, as this function > will never be called any more on FreeBSD. Assert this. [..] > + * called. See should_use_dco_socket(). */ > +assert(false); >

[Openvpn-devel] [PATCH] dco: pass control packets through the socket on FreeBSD

2022-11-25 Thread Kristof Provost via Openvpn-devel
From: Kristof Provost FreeBSD allows packets to be sent through the socket even when the if_dco driver is active, so prefer that path. Also remove the FreeBSD dco_do_write() implementation, as this function will never be called any more on FreeBSD. Assert this. Signed-off-by: Kristof Provost -