[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] xsa-39-pvops-0003 patch question


  • To: xen-devel@xxxxxxxxxxxxx
  • From: Momu G <momug31@xxxxxxxxx>
  • Date: Thu, 11 Apr 2013 16:46:28 -0700
  • Delivery-date: Fri, 12 Apr 2013 05:24:50 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

This is regarding xsa-39-pvops-0003 patch which is applied to linux kernel (I am using kernel version 3.2).

In this patch part of the added code:

 

+     /* The head too, if necessary. */

+     if (start)

+           xen_netbk_idx_release(netbk, pending_idx, XEN_NETIF_RSP_ERROR);

 

'pending_idx' is not making sense, the variable has been modified in the loop.

the correct value is likely: *((u16 *)skb->data) (or frag_get_pending_idx(&shinfo->frags[0]), which is the same if start == 1)


Please help me with this.


~MomuG

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.