Displaying 2 results from an estimated 2 matches for "518622d".
Did you mean:
518622
2013 Jun 06
0
[PATCH V2] vhost_net: clear msg.control for non-zerocopy case during tx
....com>
Signed-off-by: Jason Wang <jasowang at redhat.com>
---
The patch is needed for -stable.
Changes from v1:
- code style issue fix
---
drivers/vhost/net.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c
index 2b51e23..518622d 100644
--- a/drivers/vhost/net.c
+++ b/drivers/vhost/net.c
@@ -436,6 +436,8 @@ static void handle_tx(struct vhost_net *net)
kref_get(&ubufs->kref);
}
nvq->upend_idx = (nvq->upend_idx + 1) % UIO_MAXIOV;
+ } else {
+ msg.msg_control = NULL;
}
/* TODO: Check specific...
2013 Jun 06
0
[PATCH V2] vhost_net: clear msg.control for non-zerocopy case during tx
....com>
Signed-off-by: Jason Wang <jasowang at redhat.com>
---
The patch is needed for -stable.
Changes from v1:
- code style issue fix
---
drivers/vhost/net.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c
index 2b51e23..518622d 100644
--- a/drivers/vhost/net.c
+++ b/drivers/vhost/net.c
@@ -436,6 +436,8 @@ static void handle_tx(struct vhost_net *net)
kref_get(&ubufs->kref);
}
nvq->upend_idx = (nvq->upend_idx + 1) % UIO_MAXIOV;
+ } else {
+ msg.msg_control = NULL;
}
/* TODO: Check specific...