[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150429.152126.847523297244536648.davem@davemloft.net>
Date: Wed, 29 Apr 2015 15:21:26 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: kys@...rosoft.com
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
devel@...uxdriverproject.org, olaf@...fle.de, apw@...onical.com,
jasowang@...hat.com
Subject: Re: [PATCH V2 net 1/1] hv_netvsc: Fix a bug in netvsc_start_xmit()
From: "K. Y. Srinivasan" <kys@...rosoft.com>
Date: Tue, 28 Apr 2015 17:59:48 -0700
> 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@...rosoft.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists