> On Dec 8, 2016, at 6:12 PM, Peng Tao <bergw...@gmail.com> 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

Reply via email to