Explorar o código

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>
Haiyang Zhang %!s(int64=13) %!d(string=hai) anos
pai
achega
0f48917b93
Modificáronse 1 ficheiros con 7 adicións e 1 borrados
  1. 7 1
      drivers/net/hyperv/rndis_filter.c

+ 7 - 1
drivers/net/hyperv/rndis_filter.c

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