Skip to content

Commit

Permalink
hyperv: Add comments for the extended buffer after RNDIS message
Browse files Browse the repository at this point in the history
Reported-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Haiyang Zhang authored and David S. Miller committed Aug 9, 2012
1 parent 1fb9489 commit 0f48917
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion drivers/net/hyperv/rndis_filter.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,14 @@ struct rndis_request {
/* Simplify allocation by having a netvsc packet inline */
struct hv_netvsc_packet pkt;
struct hv_page_buffer buf;
/* FIXME: We assumed a fixed size request here. */

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];
};

Expand Down

0 comments on commit 0f48917

Please sign in to comment.