Commit 0f48917b93414a9c306a834b1b93307383956f44
Committed by
David S. Miller
1 parent
1fb9489bf1
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
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>
Showing 1 changed file with 7 additions and 1 deletions Side-by-side Diff
drivers/net/hyperv/rndis_filter.c
... | ... | @@ -46,8 +46,14 @@ |
46 | 46 | /* Simplify allocation by having a netvsc packet inline */ |
47 | 47 | struct hv_netvsc_packet pkt; |
48 | 48 | struct hv_page_buffer buf; |
49 | - /* FIXME: We assumed a fixed size request here. */ | |
49 | + | |
50 | 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 | 57 | u8 ext[100]; |
52 | 58 | }; |
53 | 59 |