]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Remove support for Linux 2.2 configuration fallback
authorDavid Sommerseth <davids@redhat.com>
Fri, 3 Jun 2011 11:53:45 +0000 (13:53 +0200)
committerDavid Sommerseth <davids@redhat.com>
Wed, 15 Jun 2011 09:49:01 +0000 (11:49 +0200)
commitce637abdafdc19547fc97192033a4d1703ecaf23
treeff7a641be23f913e9ac363dfd6f3a89afd32d2e5
parentca8af756c52ab7a4aecb857f60d6124e58458f0a
Remove support for Linux 2.2 configuration fallback

When configuring OpenVPN nowadays, the TUN/TAP configuration can
sometimes jump into the Linux 2.2 fallback code paths, which will
also fails.  The reason it jumps into fallback mode is that the
tun/tap device already exists or that /dev/net/tun does not exist.
This can be very confusing, as /dev/tunX which the fallback mode tries
to use, does not exist on Linux 2.4 and newer.

Considering that the last Linux 2.2 update was released 25-Feb-2004
and the first Linux 2.4 release came 04-Jan-2001, there are no
reasonable reasons to help users to stay on outdated kernels.
I consider this extra code path just waste of bytes ... so lets make
the world simpler.

Signed-off-by: David Sommerseth <davids@redhat.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
openvpn.8
tun.c