]> 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)
commitcfa0565214f56918e2a081079ce607fecdd5815e
tree0d36c00f5de6407bb6cffbfd33e1ab8dffd609bd
parente26d80012ca7ce71730eabddd6ef36410af2b3a4
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