patches for DPDK stable branches
 help / color / 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, back to index

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

patches for DPDK stable branches

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/stable/0 stable/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 stable stable/ http://inbox.dpdk.org/stable \
		stable@dpdk.org
	public-inbox-index stable


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.stable


AGPL code for this site: git clone https://public-inbox.org/ public-inbox