linux/drivers/net/hyperv
KY Srinivasan b56fc3c536 hv_netvsc: Fix a bug in netvsc_start_xmit()
Commit b08cc79155 eliminated memory
allocation in the packet send path:

    "hv_netvsc: Eliminate memory allocation in the packet send path

    The network protocol used to communicate with the host is the remote ndis (rndis)
    protocol. We need to decorate each outgoing packet with a rndis header and
    additional rndis state (rndis per-packet state). To manage this state, we
    currently allocate memory in the transmit path. Eliminate this allocation by
    requesting additional head room in the skb."

This commit introduced a bug since it did not account for the case if the skb
was cloned. Fix this bug.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Tested-by: Dexuan Cui <decui@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-04-29 15:20:39 -04:00
..
hyperv_net.h hv_netvsc: Fix a bug in netvsc_start_xmit() 2015-04-29 15:20:39 -04:00
Kconfig
Makefile
netvsc_drv.c hv_netvsc: Fix a bug in netvsc_start_xmit() 2015-04-29 15:20:39 -04:00
netvsc.c hv_netvsc: Fix a bug in netvsc_start_xmit() 2015-04-29 15:20:39 -04:00
rndis_filter.c hv_netvsc: introduce netif-msg into netvsc module 2015-04-29 14:45:17 -04:00