On Mon, Dec 12, 2016 at 6:37 PM, Jorgen S. Hansen wrote:
>
>> On Dec 8, 2016, at 6:12 PM, Peng Tao wrote:
>>
>> --- a/include/net/af_vsock.h
>> +++ b/include/net/af_vsock.h
>> @@ -100,6 +100,9 @@ struct vsock_transport {
>> void (*destruct)(struct vsock_sock *);
>> void (*release)(str
> On Dec 8, 2016, at 6:12 PM, Peng Tao wrote:
>
> --- a/include/net/af_vsock.h
> +++ b/include/net/af_vsock.h
> @@ -100,6 +100,9 @@ struct vsock_transport {
> void (*destruct)(struct vsock_sock *);
> void (*release)(struct vsock_sock *);
>
> + /* Cancel packets belonging the sam
On Fri, Dec 09, 2016 at 01:12:34AM +0800, Peng Tao wrote:
> To allow canceling all packets of a connection.
>
> Reviewed-by: Stefan Hajnoczi
> Signed-off-by: Peng Tao
> ---
> drivers/vhost/vsock.c | 41 +
> include/net/af_vsock.h | 3 +++
> 2 files chan
To allow canceling all packets of a connection.
Reviewed-by: Stefan Hajnoczi
Signed-off-by: Peng Tao
---
drivers/vhost/vsock.c | 41 +
include/net/af_vsock.h | 3 +++
2 files changed, 44 insertions(+)
diff --git a/drivers/vhost/vsock.c b/drivers/vhost/