aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/hyperv/hyperv_net.h
diff options
context:
space:
mode:
authorKY Srinivasan <kys@microsoft.com>2014-02-16 19:38:45 -0500
committerDavid S. Miller <davem@davemloft.net>2014-02-17 16:32:32 -0500
commitee0c4c39c577d07c05749a5f5b960b4c0fdd8097 (patch)
tree42a97ee254d656633279282567286397652bc935 /drivers/net/hyperv/hyperv_net.h
parent97c1723a6177790a3a5b8c1173ed0b03571d4e06 (diff)
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>
Diffstat (limited to 'drivers/net/hyperv/hyperv_net.h')
-rw-r--r--drivers/net/hyperv/hyperv_net.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/hyperv/hyperv_net.h b/drivers/net/hyperv/hyperv_net.h
index 7645ba38bde8..01a16ea77a5a 100644
--- a/drivers/net/hyperv/hyperv_net.h
+++ b/drivers/net/hyperv/hyperv_net.h
@@ -506,6 +506,8 @@ struct netvsc_device {
506 506
507 /* Holds rndis device info */ 507 /* Holds rndis device info */
508 void *extension; 508 void *extension;
509 /* The recive buffer for this device */
510 unsigned char cb_buffer[NETVSC_PACKET_SIZE];
509}; 511};
510 512
511/* NdisInitialize message */ 513/* NdisInitialize message */