Commit 0f48917b authored by Haiyang Zhang's avatar Haiyang Zhang Committed by David S. Miller

hyperv: Add comments for the extended buffer after RNDIS message

Reported-by: default avatarOlaf Hering <olaf@aepfle.de>
Signed-off-by: default avatarHaiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1fb9489b
...@@ -46,8 +46,14 @@ struct rndis_request { ...@@ -46,8 +46,14 @@ struct rndis_request {
/* Simplify allocation by having a netvsc packet inline */ /* Simplify allocation by having a netvsc packet inline */
struct hv_netvsc_packet pkt; struct hv_netvsc_packet pkt;
struct hv_page_buffer buf; struct hv_page_buffer buf;
/* FIXME: We assumed a fixed size request here. */
struct rndis_message request_msg; struct rndis_message request_msg;
/*
* The buffer for the extended info after the RNDIS message. It's
* referenced based on the data offset in the RNDIS message. Its size
* is enough for current needs, and should be sufficient for the near
* future.
*/
u8 ext[100]; u8 ext[100];
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment