hv_netvsc: Don't ask for additional head room in the skb
authorKY Srinivasan <kys@microsoft.com>
Wed, 2 Dec 2015 00:43:10 +0000 (16:43 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Dec 2015 04:43:24 +0000 (23:43 -0500)
commitc0eb454034aab783dc602739237a63b30867f5bd
tree0d36c00f5de6407bb6cffbfd33e1ab8dffd609bd
parent074c2fe5ef3d09e9a1008d307a22ab5086e22728
hv_netvsc: Don't ask for additional head room in the skb

The rndis header is 116 bytes big and can be placed in the default
head room that will be available in the skb. Since the netvsc packet
is less than 48 bytes, we can use the skb control buffer
for the netvsc packet. With these changes we don't need to
ask for additional head room.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/hyperv_net.h
drivers/net/hyperv/netvsc_drv.c
include/linux/netdevice.h