]> git.karo-electronics.de Git - linux-beck.git/commit
tun: move internal flag defines out of uapi
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 19 Nov 2014 12:44:40 +0000 (14:44 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 9 Dec 2014 10:05:30 +0000 (12:05 +0200)
commit031f5e0338ef672e728c878129fa044e8830c31a
tree80e1444cb8cf3ac62894b03b0c319e1fa6492819
parent41e3e42108bc5ebc77d40d6fe1216c483a6b1f9d
tun: move internal flag defines out of uapi

TUN_ flags are internal and never exposed
to userspace. Any application using it is almost
certainly buggy.

Move them out to tun.c.

Note: we remove these completely in follow-up patches,
this code movement is split out for ease of review.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/net/tun.c
include/uapi/linux/if_tun.h