We do this elsewhere, so copy the pattern here.
(Perhaps udp_set_kernel_tunneling() should either succeed or panic?)
Differential D51496
if_ovpn: Assert that udp_set_kernel_tunneling() succeeds markj on Thu, Jul 24, 4:18 PM. Authored by Tags None Referenced Files
Details We do this elsewhere, so copy the pattern here. (Perhaps udp_set_kernel_tunneling() should either succeed or panic?)
Diff Detail
Event TimelineComment Actions
It currently can't actually fail when we're clearing a tunnel function (as we do here). It can only fail if a tunnel function is already set, which his not something that should happen to the OpenVPN socket. It looks like if_ovpn is the only case where we don't create the socket before we attach the tunneling function. |