git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vhost: fix leak of fds and mmaps
[dpdk.git]
/
lib
/
librte_vhost
/
vhost-net.h
diff --git
a/lib/librte_vhost/vhost-net.h
b/lib/librte_vhost/vhost-net.h
index
c69b60b
..
affbd1a
100644
(file)
--- a/
lib/librte_vhost/vhost-net.h
+++ b/
lib/librte_vhost/vhost-net.h
@@
-115,4
+115,10
@@
struct vhost_net_device_ops {
struct vhost_net_device_ops const *get_virtio_net_callbacks(void);
+
+/*
+ * Backend-specific cleanup. Defined by vhost-cuse and vhost-user.
+ */
+void vhost_backend_cleanup(struct virtio_net *dev);
+
#endif /* _VHOST_NET_CDEV_H_ */