[Openvpn-devel,v2,0/3] pre-ipv6-only clean up patchset

Message ID 20180613122824.4207-1-a@unstable.cc
Headers show


Antonio Quartulli June 13, 2018, 2:28 a.m. UTC
This patchset is the result of some of Gert's comment on the IPv6-only

For this reason, this patchset is expected to be applied *before*
applying future versions (v3...) of the IPv6-only patchset.

This patchset is mostly about restyling the code a bit and getting rid
of unused members. Hence, there is no new feature being introduced.

Patch 1 is fixing potential memory leaks resulting from not releasing
some argv local variables and removes unused gc_areas.

This version 2 is basically addressing all the coments raised by Gert on
the previous version.
Detailed changes are rpeorted in each patch.


p.s. buildbot is currently unusable due to the ongoing maintenance on
the OpenVPN servers and therefor eonly local tests have been performed.

Antonio Quartulli (3):
  tun: ensure gc and argv are properly handled
  tun: always pass a valid tt pointer
  tun: get rid of tt->did_ifconfig member

 src/openvpn/init.c |   7 +-
 src/openvpn/tun.c  | 513 ++++++++++++++++++++++-----------------------
 src/openvpn/tun.h  |   1 -
 3 files changed, 254 insertions(+), 267 deletions(-)