]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8568b4693a09ef5ca62fdbd2b4a47cd0a61539e0
tree58dd7f60299879be878882f3ccaa4fed164e6665
parent5d39f8a2426c5c492522e3d0340c9c42ac4a0204
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