summaryrefslogtreecommitdiff
path: root/app/src/sendpath.c
diff options
context:
space:
mode:
authorQiuwen Lu <[email protected]>2017-07-18 12:59:08 +0800
committerQiuwen Lu <[email protected]>2017-07-18 12:59:08 +0800
commit5b20219049145a3239a60be8a5335de19d4e5fe3 (patch)
tree2ee67d2cc19ebf65aee763369dea81d4f43a8608 /app/src/sendpath.c
parent7fd1a99b7734863dea2530cbbd2e9c258bced90f (diff)
修正recv_all在处理关闭rx队列的虚拟设备上会crash的问题;修正启用sendpath的REHASH选项,因instance没有填充导致crash的问题;修正vloop中处理txstream=0时的问题等。
Diffstat (limited to 'app/src/sendpath.c')
-rw-r--r--app/src/sendpath.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/src/sendpath.c b/app/src/sendpath.c
index 8702cc6..5cc1d6d 100644
--- a/app/src/sendpath.c
+++ b/app/src/sendpath.c
@@ -88,6 +88,7 @@ static struct mr_sendpath * sendpath_vdev_create(struct mr_instance * instance,
_sendpath->_father.target_vdi = dest_vdev->vdi;
_sendpath->_father.vdev = dest_vdev;
_sendpath->_father.can_use = 1;
+ _sendpath->_father.instance = instance;
/* Callback Functions */
_sendpath->_father.fn_destory = sendpath_vdev_destory;