]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit271ed9365420c6607531eb420794238665df305a
tree0d36c00f5de6407bb6cffbfd33e1ab8dffd609bd
parentc65e69ef758b053d338408067df526a20bbec403
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