Skip to content

tun: flag cleanup

Michael S. Tsirkin linux-api lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3tun: move internal flag defines out of uapidrivers/net/tun.c include/uapi/linux/if_tun.h+14 -144 replies
2/3tun: reuse IFF_ flags internallydrivers/net/tun.c+22 -610 replies
3/3tun: drop most type definesdrivers/net/tun.c+28 -360 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] tun: flag cleanup

this patchset cleans up flag handling in tun. It logically belongs to net tree, but I'm basing support for new virtio header on top of it. Similar situation will take place with vhost patches.
Rusty, Dave, what's your take?

Merge this patch through virtio tree?
Merge both this patch and virtio 1.0 patches through vhost tree?

I'm fine with any option.

Please review/ack patches in any case.

Michael S. Tsirkin (3):
tun: move internal flag defines out of uapi
tun: reuse IFF_ flags internally
tun: drop most type defines

 include/uapi/linux/if_tun.h |  14 -----
 drivers/net/tun.c           | 125 ++++++++++++++++----------------------------
 2 files changed, 46 insertions(+), 93 deletions(-)
Signature · 1 line
MST