patches for DPDK stable branches
 help / color / mirror / Atom feed
* Re: [dpdk-stable] [dpdk-dev] [PATCH] bus/vmbus: calcuate the correct start address for mapping ring buffer
       [not found] ` <20200612090633.1a3d90a7@hermes.lan>
@ 2020-06-24 23:05   ` Thomas Monjalon
  0 siblings, 0 replies; only message in thread
From: Thomas Monjalon @ 2020-06-24 23:05 UTC (permalink / raw)
  To: Long Li; +Cc: dev, Stephen Hemminger, Stephen Hemminger, stable

12/06/2020 18:06, Stephen Hemminger:
> On Thu, 11 Jun 2020 17:48:25 -0700
> longli@linuxonhyperv.com wrote:
> 
> > From: Long Li <longli@microsoft.com>
> > 
> > vmbus_map_addr is used as the next start virutal address for mapping ring
> > buffer. However it's updated based on ring_buf, which is a pointer to an
> > address on the stack. The next ring buffer may be mapped to an unexpected
> > address.
> > 
> > Fix this by calculating vmbus_map_addr based on returned virtual address.
> > 
> > Signed-off-by: Long Li <longli@microsoft.com>
> 
> 
> Fixes: 3f9277031a2e ("bus/vmbus: fix check for mmap failure")
> Acked-by: Stephen Hemminger <stephen@networkplumber.org>

+Cc: stable@dpdk.org

Applied, thanks



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-06-24 23:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1591922905-81259-1-git-send-email-longli@linuxonhyperv.com>
     [not found] ` <20200612090633.1a3d90a7@hermes.lan>
2020-06-24 23:05   ` [dpdk-stable] [dpdk-dev] [PATCH] bus/vmbus: calcuate the correct start address for mapping ring buffer Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).