Discussion:
[win-pv-devel] [Code merge request] The RangeSetPop in xenbus code should has its cursor move forward
Lin Liu
2018-09-13 07:00:04 UTC
Permalink
Dear Sir or Madam,

I got a patch attached to fix a bug in xenbus,


The Bug:
The function RangeSetPop tried to traverse the Ranges in the RangeSet and find the range that fulfill the requested count,
But it has never move the cursor, which will lead to dead loop.

The Fix:
This patch move the Cursor forward to avoid dead loop.


Thanks & Best Regards,
Lin Liu, XenServer, CiTR!X Systems, Inc.
* C3 Building | No. 19 Suyuan Avenue | Jiangning District | Nanjing
( 41398
* +86-18751960469
* ***@citrix.com <mailto:***@citrix.com>
Paul Durrant
2018-09-13 08:43:44 UTC
Permalink
De-htmling...

-----
From: win-pv-devel [mailto:win-pv-devel-***@lists.xenproject.org] On Behalf Of Lin Liu
Sent: 13 September 2018 08:00
To: win-pv-***@lists.xenproject.org
Subject: [win-pv-devel] [Code merge request] The RangeSetPop in xenbus code should has its cursor move forward

Dear Sir or Madam,

I got a patch attached to fix a bug in xenbus,


The Bug:
The function RangeSetPop tried to traverse the Ranges in the RangeSet and find the range that fulfill the requested count,
But it has never move the cursor, which will lead to dead loop.

The Fix:
This patch move the Cursor forward to avoid dead loop.


Thanks & Best Regards,
Lin Liu, XenServer, CiTR!X Systems, Inc.
L C3 Building | No. 19 Suyuan Avenue | Jiangning District | Nanjing
    41398
  +86-18751960469
mailto:***@citrix.com
-----

Lin,

Please have a look at https://wiki.xenproject.org/wiki/Category:Windows_PV_Drivers. We use the Xen model for patch submission; you can avoid using stgit if you want but you should read the section on git format-patch and git send-email.

Cheers,

Paul

Loading...