From: Thomas Monjalon <thomas@monjalon.net>
To: Long Li <longli@microsoft.com>
Cc: dev@dpdk.org, Stephen Hemminger <sthemmin@microsoft.com>,
Stephen Hemminger <stephen@networkplumber.org>,
stable@dpdk.org
Subject: Re: [dpdk-dev] [PATCH] bus/vmbus: calcuate the correct start address for mapping ring buffer
Date: Thu, 25 Jun 2020 01:05:34 +0200 [thread overview]
Message-ID: <17849898.BQ2eLMOKaY@thomas> (raw)
In-Reply-To: <20200612090633.1a3d90a7@hermes.lan>
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
prev parent reply other threads:[~2020-06-24 23:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-12 0:48 [dpdk-dev] [PATCH] bus/vmbus: calcuate the correct start address for mapping ring buffer longli
2020-06-12 16:06 ` Stephen Hemminger
2020-06-24 23:05 ` Thomas Monjalon [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=17849898.BQ2eLMOKaY@thomas \
--to=thomas@monjalon.net \
--cc=dev@dpdk.org \
--cc=longli@microsoft.com \
--cc=stable@dpdk.org \
--cc=stephen@networkplumber.org \
--cc=sthemmin@microsoft.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.