Thread (13 messages) 13 messages, 3 authors, 2016-12-12

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

From: Jorgen S. Hansen <hidden>
Date: 2016-12-12 10:37:26
Also in: kvm, virtualization

quoted hunk ↗ jump to hunk
On Dec 8, 2016, at 6:12 PM, Peng Tao [off-list 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help