]> xenbits.xensource.com Git - pvdrivers/win/xenbus.git/commit
Fix EvtchnOpen() error path
authorPaul Durrant <paul.durrant@citrix.com>
Tue, 20 Jan 2015 15:11:28 +0000 (15:11 +0000)
committerPaul Durrant <paul.durrant@citrix.com>
Tue, 27 Jan 2015 16:12:51 +0000 (16:12 +0000)
commitf4987cd05157f40ae9ba66dfd108bb9524fb79a8
tree91a03817585d0b01e3971db4c51d722c366d7ad4
parent4bb6dc223c438d7b7a1ff90a0bcd9c58efdb0a7e
Fix EvtchnOpen() error path

It's possible for an error in the latter stages of EvtchnOpen() to cause the
channel to be left open in Xen. Also the Mask boolean was not being cleared
which would lead to ASSERTion failures in checked builds.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
src/xenbus/evtchn.c