[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20141022.175920.1800807867580631439.davem@davemloft.net>
Date: Wed, 22 Oct 2014 17:59:20 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: haiyangz@...rosoft.com
Cc: netdev@...r.kernel.org, kys@...rosoft.com, olaf@...fle.de,
jasowang@...hat.com, linux-kernel@...r.kernel.org,
driverdev-devel@...uxdriverproject.org
Subject: Re: [PATCH net] hyperv: Fix the total_data_buflen in send path
From: Haiyang Zhang <haiyangz@...rosoft.com>
Date: Wed, 22 Oct 2014 13:47:18 -0700
> total_data_buflen is used by netvsc_send() to decide if a packet can be put
> into send buffer. It should also include the size of RNDIS message before the
> Ethernet frame. Otherwise, a messge with total size bigger than send_section_size
> may be copied into the send buffer, and cause data corruption.
>
> [Request to include this patch to the Stable branches]
>
> Signed-off-by: Haiyang Zhang <haiyangz@...rosoft.com>
> Reviewed-by: K. Y. Srinivasan <kys@...rosoft.com>
Applied and queued up for -stable, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists