]> 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)
commit2f7480654aab1e52ee40c176258f5bc09e67ff5a
tree214a5df92bdd4f822677764a09a682c2ca0d5400
parent405133d4f7ae4fc1ac02274956e30850c93f3fc0
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