tun/tap: use ptr_ring instead of skb_array
authorJason Wang <jasowang@redhat.com>
Thu, 4 Jan 2018 03:14:27 +0000 (11:14 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Jan 2018 15:56:10 +0000 (10:56 -0500)
commit5990a30510ed1c37a769d3a035ad2d030b843528
tree58dd7f60299879be878882f3ccaa4fed164e6665
parenta0ce093180f2bbb832b3f5583adc640ad67ea568
tun/tap: use ptr_ring instead of skb_array

This patch switches to use ptr_ring instead of skb_array. This will be
used to enqueue different types of pointers by encoding type into
lower bits.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tap.c
drivers/net/tun.c
drivers/vhost/net.c
include/linux/if_tap.h
include/linux/if_tun.h