]> git.baikalelectronics.ru Git - 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)
commit012c1c81641c9eae1a7a5f46dc8607134b42b170
tree214a5df92bdd4f822677764a09a682c2ca0d5400
parentd7ec8a9718449c7eea3aa19a97efa7f929ede2a0
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