]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
tun: support receiving skb through msg_control
authorJason Wang <jasowang@redhat.com>
Wed, 17 May 2017 04:14:43 +0000 (12:14 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 May 2017 14:07:41 +0000 (10:07 -0400)
commitac77cfd4258fb8174766a92d118436da7f9dabf1
tree214a5df92bdd4f822677764a09a682c2ca0d5400
parent49f96fd0cb3808e5ff96573f28b3dceb16eb6998
tun: support receiving skb through msg_control

This patch makes tun_recvmsg() can receive from skb from its caller
through msg_control. Vhost_net will be the first user.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tun.c