aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/hyperv
diff options
context:
space:
mode:
authorHaiyang Zhang <haiyangz@microsoft.com>2012-08-09 04:04:18 -0400
committerDavid S. Miller <davem@davemloft.net>2012-08-09 19:44:39 -0400
commit0f48917b93414a9c306a834b1b93307383956f44 (patch)
tree34b17fffb32af069988c61ba76a5203162748452 /drivers/net/hyperv
parent1fb9489bf190ce2b3fc03891f3de4b2d30600e28 (diff)
hyperv: Add comments for the extended buffer after RNDIS message
Reported-by: Olaf Hering <olaf@aepfle.de> Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/hyperv')
-rw-r--r--drivers/net/hyperv/rndis_filter.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/net/hyperv/rndis_filter.c b/drivers/net/hyperv/rndis_filter.c
index 1e88a1095934..06f8601f32fc 100644
--- a/drivers/net/hyperv/rndis_filter.c
+++ b/drivers/net/hyperv/rndis_filter.c
@@ -46,8 +46,14 @@ struct rndis_request {
46 /* Simplify allocation by having a netvsc packet inline */ 46 /* Simplify allocation by having a netvsc packet inline */
47 struct hv_netvsc_packet pkt; 47 struct hv_netvsc_packet pkt;
48 struct hv_page_buffer buf; 48 struct hv_page_buffer buf;
49 /* FIXME: We assumed a fixed size request here. */ 49
50 struct rndis_message request_msg; 50 struct rndis_message request_msg;
51 /*
52 * The buffer for the extended info after the RNDIS message. It's
53 * referenced based on the data offset in the RNDIS message. Its size
54 * is enough for current needs, and should be sufficient for the near
55 * future.
56 */
51 u8 ext[100]; 57 u8 ext[100];
52}; 58};
53 59