search for: 6400cd5

Displaying 2 results from an estimated 2 matches for "6400cd5".

Did you mean: 6400c5
2010 Sep 14
1
[PATCH] vhost-net: fix range checking in mrg bufs case
...ng <jasowang at redhat.com> Signed-off-by: Michael S. Tsirkin <mst at redhat.com> --- Dave, I'll queue this on my tree, no need to bother. drivers/vhost/net.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c index 6400cd5..f095de6 100644 --- a/drivers/vhost/net.c +++ b/drivers/vhost/net.c @@ -245,7 +245,7 @@ static int get_rx_bufs(struct vhost_virtqueue *vq, int r, nlogs = 0; while (datalen > 0) { - if (unlikely(headcount >= VHOST_NET_MAX_SG)) { + if (unlikely(seg >= VHOST_NET_MAX_SG)) { r = -EN...
2010 Sep 14
1
[PATCH] vhost-net: fix range checking in mrg bufs case
...ng <jasowang at redhat.com> Signed-off-by: Michael S. Tsirkin <mst at redhat.com> --- Dave, I'll queue this on my tree, no need to bother. drivers/vhost/net.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c index 6400cd5..f095de6 100644 --- a/drivers/vhost/net.c +++ b/drivers/vhost/net.c @@ -245,7 +245,7 @@ static int get_rx_bufs(struct vhost_virtqueue *vq, int r, nlogs = 0; while (datalen > 0) { - if (unlikely(headcount >= VHOST_NET_MAX_SG)) { + if (unlikely(seg >= VHOST_NET_MAX_SG)) { r = -EN...