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

Re: [Xen-devel] [PATCH] Fix blkback/blktap sysfs read bug.



>>> "Joe Jin" <joe.jin@xxxxxxxxxx> 19.01.10 10:52 >>>
>At backend driver blkback and blktap, when checking statistics information,
>at the time vbd device remove, kernel will crash.
>
>Below patch will fix it, please review and apply.

This isn't a complete fix if I follow your analysis: There's still a race
between blk{back,tap}_remove() freeing be->blkif/be and the sysfs
code. dev->dev.driver_data (and possibly be->blkif) must be cleared
before freeing it (them).

Jan



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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