On 13/01/14 19:58, Gert Doering wrote:
> Hi,
> 
> there's an open bug in trac
> 
> https://community.openvpn.net/openvpn/ticket/340
> 
> that asks us to remove structures used in route.c that were copy-pasted
> from <net/route.h>, because OpenBSD will change some structure elements,
> leading to incompatibility with OpenVPN, and include <net/route.h> instead.
> 
> This makes sense, from a portability perspective, even if it needs
> careful testing across all supported platforms to see whether everything
> affected still works (this seems to primarily be the default gateway
> querying code, get-default_gateway()).
> 
> There is a catch to it: <net/route.h> defines a "struct route", while
> OpenVPN's route.h also has a "struct route", which are wildly different,
> so including <net/route.h> would require is to change all occurrences
> of "struct route" to "struct route_ipv4" or such.  Which we can do,
> and I think it makes sense (we have "struct route_ipv6" for IPv6, so
> that would avoid the conflict while still aligning IPv4/IPv6 somewhat).
> 
> Now comes the catch: git master/2.4 only, or 2.3.3?
> 
> 
> It's not exactly a bugfix, but is needed for portability, and since 2.3.x
> will be around a while, it would be good to have there.
> 
> Also, changing it in master and 2.3.3 would make Arne's and my life much 
> easier in future should we have to fix a bug relating to (then) 
> "struct openvpn_route", as we wouldn't be able to cherry-pick master->2.3
> anymore otherwise...
> 
> 
> So I'm tempted to go for "git master and 2.3.3", but want to put this
> up for discussion here.

Generally speaking, I'd prefer as few changes to the 2.3 branch as
possible.  Try to let it be bugfixes mostly.  This is also to encourage
users to move over to 2.4 ASAP when that's ready, with more new
features.  It also helps stability and maintainability within the
OpenVPN project.

Arne's OpenVPN for Android seems to always have been more experimental
and bleeding edge than OpenVPN Connect.  So unless Arne screams back at
me telling me I'm wrong, I believe Arne will be one of the first ones to
move over to the 2.4/master codebase, thus not making things that
difficult for him.  But Arne is the one who can fully answer this.  If
he says it will be more complicated, then let it go into 2.3 too.

Having all that said.  Looking at your patches, they seem clean enough
and I'm not terrified by it.  I'd expect compile errors from our
buildslaves if this breaks something.

So I'd vote for master instantly.  And then 2.3 if really needed, after
it has been tested in master for a little while.


-- 
kind regards,

David Sommerseth

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to