]> git.baikalelectronics.ru Git - kernel.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)
commitba89d8a68c25af79545047de618a695143e8863d
tree80e1444cb8cf3ac62894b03b0c319e1fa6492819
parent0f7eb7409213a6c75fc4d3deabfa2ce3d7d6bd8e
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