# Re: \[PATCH v3 2/4\] vhost-vsock: add pkt cancel capability

- From: Jorgen S. Hansen \<hidden\>
- Date: 2016-12-12 10:37:26 
- List: virtualization
- Page: https://ratatoskr.run/virtualization/2016/12/11038167
- Thread: https://ratatoskr.run/netdev/2016/12/11037886/t.md

```text

> On Dec 8, 2016, at 6:12 PM, Peng Tao [ref] 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 same vsock */

How about “/* Cancel all pending packets sent on vsock. */“ ? 

> +	int (*cancel_pkt)(struct vsock_sock *vsk);
> +
> 	/* Connections. */
> 	int (*connect)(struct vsock_sock *);
> 
> -- 
> 2.7.4
> 

Thanks,
Jørgen
_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
```
