]> 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)
commit46aff6e314cc9490e27fad908aef2133ff90eb43
tree58dd7f60299879be878882f3ccaa4fed164e6665
parente9b34a55abd8f308040fb85689306c7fa57f1700
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