All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vishnu Rangayyan <vrangayyan@apple.com>
To: "stable@vger.kernel.org" <stable@vger.kernel.org>
Cc: "gregkh@linuxfoundation.org" <gregkh@linuxfoundation.org>,
	Andrew Forgue <andrewf@apple.com>
Subject: vsock fix for 5.4 stable
Date: Tue, 29 Sep 2020 13:53:58 -0700	[thread overview]
Message-ID: <4871038a-6ab7-4c44-875c-2d04012de34a@apple.com> (raw)

Hi,

Can we have this backport applied to 5.4 stable, its more of a required 
fix than an enhancement.

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-29 23:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-29 20:53 Vishnu Rangayyan [this message]
2020-09-30  6:26 ` vsock fix for 5.4 stable gregkh

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=4871038a-6ab7-4c44-875c-2d04012de34a@apple.com \
    --to=vrangayyan@apple.com \
    --cc=andrewf@apple.com \
    --cc=gregkh@linuxfoundation.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 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.