Drivers: net: hyperv: Cleanup the netvsc receive callback functio
Get rid of the buffer allocation in the receive path for normal packets. Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
97c1723a61
commit
ee0c4c39c5
@@ -506,6 +506,8 @@ struct netvsc_device {
|
||||
|
||||
/* Holds rndis device info */
|
||||
void *extension;
|
||||
/* The recive buffer for this device */
|
||||
unsigned char cb_buffer[NETVSC_PACKET_SIZE];
|
||||
};
|
||||
|
||||
/* NdisInitialize message */
|
||||
|
Reference in New Issue
Block a user