RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 599299 - vhost net lacks 2.6.35-rc1 fixes
Summary: vhost net lacks 2.6.35-rc1 fixes
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: kernel
Version: 6.0
Hardware: All
OS: Linux
low
high
Target Milestone: rc
: ---
Assignee: Michael S. Tsirkin
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-06-03 04:27 UTC by Michael S. Tsirkin
Modified: 2013-01-09 22:40 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-11-11 16:14:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Michael S. Tsirkin 2010-06-03 04:27:43 UTC
tracker bug to backport 2.6.35-rc1 fixes in 6.0.

commit a02c37891a9b2d7ce93f9d09455b4f67c4c23b95
Author: Takuya Yoshikawa <yoshikawa.takuya.co.jp>
Date:   Thu May 27 19:03:56 2010 +0900

    vhost: fix the memory leak which will happen when memory_access_ok fails
    
    We need to free newmem when vhost_set_memory() fails to complete.
    
    Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya.co.jp>
    Signed-off-by: Michael S. Tsirkin <mst>

commit d3553a52490dcac54f45083f8fa018e26c22e947
Author: Takuya Yoshikawa <yoshikawa.takuya.co.jp>
Date:   Thu May 27 19:01:58 2010 +0900

    vhost-net: fix to check the return value of copy_to/from_user() correctly
    
    copy_to/from_user() returns the number of bytes that could not be copied.
    
    So we need to check if it is not zero, and in that case, we should return
    the error number -EFAULT rather than directly return the return value from
    copy_to/from_user().
    
    Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya.co.jp>
    Signed-off-by: Michael S. Tsirkin <mst>

commit 7ad9c9d27048547e96e4e3a13b5780ec6f81bb9f
Author: Takuya Yoshikawa <yoshikawa.takuya.co.jp>
Date:   Thu May 27 18:58:03 2010 +0900

    vhost: fix to check the return value of copy_to/from_user() correctly
    
    copy_to/from_user() returns the number of bytes that could not be copied.
    
    So we need to check if it is not zero, and in that case, we should return
    the error number -EFAULT rather than directly return the return value from
    copy_to/from_user().
    
    Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya.co.jp>
    Signed-off-by: Michael S. Tsirkin <mst>

commit 0f3d9a17469d71ba1bab79c07c8eecb9e26e60af
Author: Krishna Kumar <krkumar2.com>
Date:   Tue May 25 11:10:36 2010 +0530

    vhost: Fix host panic if ioctl called with wrong index
    
    Missed a boundary value check in vhost_set_vring. The host panics if
    idx == nvqs is used in ioctl commands in vhost_virtqueue_init.
    
    Signed-off-by: Krishna Kumar <krkumar2.com>
    Signed-off-by: Michael S. Tsirkin <mst>

Comment 2 Aristeu Rozanski 2010-07-01 16:21:07 UTC
Patch(es) available on kernel-2.6.32-42.el6

Comment 5 Amos Kong 2010-08-14 23:35:41 UTC
No regression bring by those patches.
Acceptance_test of RHEL6.0-20100701.3 pass (kernel-2.6.32-42.el6)

Comment 6 releng-rhel@redhat.com 2010-11-11 16:14:14 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.