OSDN Git Service

UPSTREAM: vhost-vsock: add pkt cancel capability
authorPeng Tao <bergwolf@gmail.com>
Wed, 15 Mar 2017 01:32:15 +0000 (09:32 +0800)
committerAlistair Strachan <astrachan@google.com>
Wed, 16 Jan 2019 01:08:37 +0000 (17:08 -0800)
commit8d30307c8dc91e7ae6d08d2344615599810ab19a
treea16dfce4aab9471d2d4f216541967fb643bc9139
parent2b8dd4215e444e7c58b7ec0f352cb85f3208f845
UPSTREAM: vhost-vsock: add pkt cancel capability

[ Upstream commit 16320f363ae128d9b9c70e60f00f2a572f57c23d ]

To allow canceling all packets of a connection.

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Jorgen Hansen <jhansen@vmware.com>
Signed-off-by: Peng Tao <bergwolf@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 482b3f92aea249b031ba0bc24df73f3c48f1f5c2)
Bug: 121166534
Test: Ran cuttlefish with android-4.4 + vsock adb tunnel
Signed-off-by: Cody Schuffelen <schuffelen@google.com>
Change-Id: I1a06010bbcbcf03e1557d053b773cd6a2c1c0b02
drivers/vhost/vsock.c
include/net/af_vsock.h