[PATCH 1/9] Allow tunnel setup prior to entering mainloop
Woodhouse, David
david.woodhouse at intel.com
Mon Feb 8 02:52:35 PST 2016
On Sun, 2016-02-07 at 20:25 -0800, Kevin Cernekee wrote:
> Legacy callers can invoke openconnect_setup_tun_fd() before DTLS
> starts. If this happens, don't try to set up the tunnel from the
> mainloop.
I don't like vpninfo->tun_is_up very much. Can't we declare that it's
redundant with something like vpninfo->tun_fd != 1 (or the Windows
equivalent with tun_fh) and kill it entirely?
We wouldn't be having problems with it being out of sync with reality,
if it didn't exist... :)
> --
David Woodhouse Open Source Technology Centre
David.Woodhouse at intel.com Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3437 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openconnect-devel/attachments/20160208/6f5c72d8/attachment.bin>
More information about the openconnect-devel
mailing list