|  |  | 
  
    |  |  | 
 
  |   |  | 
  
    |  |  | 
  
    |  |  | 
  
    |   xen-changelog
[Xen-changelog] The attached patch fixes a race condition that	occurs if 
| # HG changeset patch
# User emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID b3751c780aa5b8f511dffc4114102b4ca110a11b
# Parent  c5a833aec2abec5436038377aa2fb6be50dfafad
The attached patch fixes a race condition that occurs if after the
backend has been removed there are still requests pending. This patch
flushed all the pending requests.
Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx>
diff -r c5a833aec2ab -r b3751c780aa5 
linux-2.6-xen-sparse/drivers/xen/tpmback/xenbus.c
--- a/linux-2.6-xen-sparse/drivers/xen/tpmback/xenbus.c Mon Apr  3 17:28:54 2006
+++ b/linux-2.6-xen-sparse/drivers/xen/tpmback/xenbus.c Mon Apr  3 17:32:43 2006
@@ -55,6 +55,7 @@
                be->backend_watch.node = NULL;
        }
        if (be->tpmif) {
+               vtpm_release_packets(be->tpmif, 0);
                tpmif_put(be->tpmif);
                be->tpmif = NULL;
        }
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
 | 
 
| <Prev in Thread] | Current Thread | [Next in Thread> |  | 
[Xen-changelog] The attached patch fixes a race condition that	occurs if after the,
Xen patchbot -unstable <=
 |  |  | 
  
    |  |  |