]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
if_ovpn: pass control packets through the socket
authorKristof Provost <kp@FreeBSD.org>
Wed, 9 Nov 2022 13:48:05 +0000 (14:48 +0100)
committerKristof Provost <kp@FreeBSD.org>
Tue, 15 Nov 2022 09:01:18 +0000 (10:01 +0100)
commit5246f8fade5bdb72d6e61f333d8b815b456a4ef5
treef04aac7427dc261c546c7387cb7bfeb71e66954a
parente1184adecf3fd4937da20ecd4cb5ada101952a58
if_ovpn: pass control packets through the socket

Rather than passing control packets through the ioctl interface allow
them to pass through the normal UDP socket flow.
This simplifies both kernel and userspace, and matches the approach
taken (or the one that will be taken) on the Linux side of things.

Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D37317
sys/net/if_ovpn.c