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 build
[dpdk.git]
/
lib
/
librte_vhost
/
vhost_user
/
vhost-net-user.c
diff --git
a/lib/librte_vhost/vhost_user/vhost-net-user.c
b/lib/librte_vhost/vhost_user/vhost-net-user.c
index
3aa9436
..
31f1215
100644
(file)
--- a/
lib/librte_vhost/vhost_user/vhost-net-user.c
+++ b/
lib/librte_vhost/vhost_user/vhost-net-user.c
@@
-277,7
+277,7
@@
vserver_new_vq_conn(int fd, void *dat, __rte_unused int *remove)
int conn_fd;
struct connfd_ctx *ctx;
int fh;
- struct vhost_device_ctx vdev_ctx = { 0 };
+ struct vhost_device_ctx vdev_ctx = {
(pid_t)0,
0 };
unsigned int size;
conn_fd = accept(fd, NULL, NULL);