diff mbox series

vsock fix backport to 5.4 stable

Message ID 0c41f301-bedf-50be-d233-25d0d98b64ca@apple.com
State New
Headers show
Series vsock fix backport to 5.4 stable | expand

Commit Message

Vishnu Rangayyan Sept. 30, 2020, 5:55 p.m. UTC
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.

      }
--

Comments

Sasha Levin Oct. 2, 2020, 11:17 p.m. UTC | #1
On Wed, Sep 30, 2020 at 10:55:37AM -0700, Vishnu Rangayyan wrote:
>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.

Queued up. I took the dependencies instead.
diff mbox series

Patch

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;