HomeFreeBSD

if_ovpn: reject non-UDP sockets

Description

if_ovpn: reject non-UDP sockets

We must ensure that the fd provided by userspace is really for a UDP
socket. If it's not we'll panic in udp_set_kernel_tunneling().

Reported by: Gert Doering <gert@greenie.muc.de>
Sponsored by: Rubicon Communications, LLC ("Netgate")

Details

Provenance
kpAuthored on Aug 11 2022, 8:30 AM
Parents
rG0b6d133c08fc: Add RockChip RK356X support to existing RockChip thermal driver.
Branches
Unknown
Tags
Unknown