linux-hyperv.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Gaurav Kohli <gauravkohli@linux.microsoft.com>
Cc: stable@vger.kernel.org, haiyangz@microsoft.com,
	davem@davemloft.net, linux-hyperv@vger.kernel.org
Subject: Re: [PATCH 5.10] hv_netvsc: Fix race between VF offering and VF association message from host
Date: Thu, 27 Oct 2022 12:21:00 +0200	[thread overview]
Message-ID: <Y1pbjBqLUhTGRgzX@kroah.com> (raw)
In-Reply-To: <1666790623-29227-1-git-send-email-gauravkohli@linux.microsoft.com>

On Wed, Oct 26, 2022 at 06:23:43AM -0700, Gaurav Kohli wrote:
> [ Upstream commit 365e1ececb2905f94cc10a5817c5b644a32a3ae2 ]
> 
> During vm boot, there might be possibility that vf registration
> call comes before the vf association from host to vm.
> 
> And this might break netvsc vf path, To prevent the same block
> vf registration until vf bind message comes from host.
> 
> Cc: stable@vger.kernel.org
> Fixes: 00d7ddba11436 ("hv_netvsc: pair VF based on serial number")
> Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
> Signed-off-by: Gaurav Kohli <gauravkohli@linux.microsoft.com>
> Signed-off-by: David S. Miller <davem@davemloft.net>
> ---
>  drivers/net/hyperv/hyperv_net.h |  3 ++-
>  drivers/net/hyperv/netvsc.c     |  4 ++++
>  drivers/net/hyperv/netvsc_drv.c | 20 ++++++++++++++++++++
>  3 files changed, 26 insertions(+), 1 deletion(-)

Now queued up, thanks.

greg k-h

      reply	other threads:[~2022-10-27 10:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-26 13:23 [PATCH 5.10] hv_netvsc: Fix race between VF offering and VF association message from host Gaurav Kohli
2022-10-27 10:21 ` Greg KH [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=Y1pbjBqLUhTGRgzX@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=davem@davemloft.net \
    --cc=gauravkohli@linux.microsoft.com \
    --cc=haiyangz@microsoft.com \
    --cc=linux-hyperv@vger.kernel.org \
    --cc=stable@vger.kernel.org \
    /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 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).