Re: [PATCH v6 37/46] tun: move internal flag defines out of uapi

2014-11-29 Thread Michael S. Tsirkin
On Fri, Nov 28, 2014 at 08:15:32AM +0008, Jason Wang wrote: > > > On Fri, Nov 28, 2014 at 4:10 AM, Michael S. Tsirkin wrote: > >TUN_ flags are internal and never exposed > >to userspace. Any application using it is almost > >certainly buggy. > > > >Move them out to tun.c, we'll remove them in fo

Re: [PATCH v6 37/46] tun: move internal flag defines out of uapi

2014-11-28 Thread Jason Wang
On Fri, Nov 28, 2014 at 4:10 AM, Michael S. Tsirkin wrote: TUN_ flags are internal and never exposed to userspace. Any application using it is almost certainly buggy. Move them out to tun.c, we'll remove them in follow-up patches. Signed-off-by: Michael S. Tsirkin --- include/uapi/linux/i

[PATCH v6 37/46] tun: move internal flag defines out of uapi

2014-11-27 Thread Michael S. Tsirkin
TUN_ flags are internal and never exposed to userspace. Any application using it is almost certainly buggy. Move them out to tun.c, we'll remove them in follow-up patches. Signed-off-by: Michael S. Tsirkin --- include/uapi/linux/if_tun.h | 16 ++ drivers/net/tun.c | 74 +++