summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKY Srinivasan <kys@microsoft.com>2015-04-29 03:59:48 +0300
committerDavid S. Miller <davem@davemloft.net>2015-04-29 22:20:39 +0300
commitb56fc3c536541c8081cd5f1f1d101a16c002a365 (patch)
tree4d887b0f261c23862d847c435c7bf94b671ad91c /include
parent48734994ac268eb391a66dca4cde7d08a08aba08 (diff)
downloadlinux-b56fc3c536541c8081cd5f1f1d101a16c002a365.tar.xz
hv_netvsc: Fix a bug in netvsc_start_xmit()
Commit b08cc79155fc26d0d112b1470d1ece5034651a4b 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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions