Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: Vishnu Rangayyan <vishnu.rangayyan@apple.com>
To: "stable@vger.kernel.org" <stable@vger.kernel.org>
Cc: "gregkh@linuxfoundation.org" <gregkh@linuxfoundation.org>,
	Sebastien Boeuf <sebastien.boeuf@intel.com>,
	"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
	Andrew Forgue <andrewf@apple.com>
Subject: vsock fix backport to 5.4 stable
Date: Wed, 30 Sep 2020 10:55:37 -0700	[thread overview]
Message-ID: <0c41f301-bedf-50be-d233-25d0d98b64ca@apple.com> (raw)

Hi,

Can we have this backport applied to 5.4 stable, its a useful fix.

commit df12eb6d6cd920ab2f0e0a43cd6e1c23a05cea91 upstream

The call has a minor api change in 5.4 vs higher, only the pkt arg is 
required.

diff --git a/net/vmw_vsock/virtio_transport_common.c 
b/net/vmw_vsock/virtio_transport_common.c
index d9f0c9c5425a..2f696124bab6 100644
--- a/net/vmw_vsock/virtio_transport_common.c
+++ b/net/vmw_vsock/virtio_transport_common.c
@@ -1153,6 +1153,7 @@ void virtio_transport_recv_pkt(struct 
virtio_transport *t,
          virtio_transport_free_pkt(pkt);
          break;
      default:
+        (void)virtio_transport_reset_no_sock(pkt);
          virtio_transport_free_pkt(pkt);
          break;
      }
-- 

             reply	other threads:[~2020-09-30 18:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-30 17:55 Vishnu Rangayyan [this message]
2020-10-02 23:17 ` vsock fix backport to 5.4 stable Sasha Levin

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=0c41f301-bedf-50be-d233-25d0d98b64ca@apple.com \
    --to=vishnu.rangayyan@apple.com \
    --cc=andrewf@apple.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=netdev@vger.kernel.org \
    --cc=sebastien.boeuf@intel.com \
    --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