]> git.baikalelectronics.ru Git - kernel.git/commit
tap: support receiving skb from msg_control
authorJason Wang <jasowang@redhat.com>
Wed, 17 May 2017 04:14:44 +0000 (12:14 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 May 2017 14:07:41 +0000 (10:07 -0400)
commit559c97f08b947ee59b353fbb079af19c794ba1d9
treed070e9d5ecf191c65a3759bf2f95a0b1ddf0f5b2
parent2f7480654aab1e52ee40c176258f5bc09e67ff5a
tap: support receiving skb from msg_control

This patch makes tap_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/tap.c