[PATCH net 1/1] hv_netvsc: Fix a bug in netvsc_start_xmit()

KY Srinivasan kys at microsoft.com
Tue Apr 28 18:59:55 UTC 2015



> -----Original Message-----
> From: Sergei Shtylyov [mailto:sergei.shtylyov at cogentembedded.com]
> Sent: Tuesday, April 28, 2015 11:27 AM
> To: KY Srinivasan; davem at davemloft.net; netdev at vger.kernel.org; linux-
> kernel at vger.kernel.org; devel at linuxdriverproject.org; olaf at aepfle.de;
> apw at canonical.com; jasowang at redhat.com
> Subject: Re: [PATCH net 1/1] hv_netvsc: Fix a bug in netvsc_start_xmit()
> 
> Hello.
> 
> On 04/28/2015 04:14 AM, K. Y. Srinivasan wrote:
> 
> > Commit commit b08cc79155fc26d0d112b1470d1ece5034651a4b eliminated
> memory
> 
>     One "commit" is enough. :-)
>     And please also specify that commit's summary in parens.
> 
> > allocation in the packet send path. This commit introduced a bug since it
> > did not account for the case if the skb was cloned. Fix this bug by
> > using the pre-reserved head room only if the skb is not cloned.
> 
> > Signed-off-by: K. Y. Srinivasan <kys at microsoft.com>
> 
> [...]
> 
> WBR, Sergei

Will do; thanks.

K. Y


More information about the devel mailing list