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

Message ID 20180613081218.1834-1-a@unstable.cc
Headers show
Series
  • pre-ipv6-only clean up patchset
Related show

Message

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

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 and gc local variables.

Cheers,

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 always freed
  tun: always pass a valid tt pointer
  tun: get rid of tt->did_ifconfig member

 src/openvpn/init.c |   7 +-
 src/openvpn/tun.c  | 442 ++++++++++++++++++++++-----------------------
 src/openvpn/tun.h  |   1 -
 3 files changed, 223 insertions(+), 227 deletions(-)