[PATCH] xen-blkfront: check for null drvdata in blkback_changed (XenbusStateClosing)

2015-10-02 Thread Konrad Rzeszutek Wilk
From: Cathy Avery xen-blkfront will crash if the check to talk_to_blkback() in blkback_changed()(XenbusStateInitWait) returns an error. The driver data is freed and info is set to NULL. Later during the close process via talk_to_blkback's call to xenbus_dev_fatal() the null pointer is passed to

[PATCH] xen-blkfront: check for null drvdata in blkback_changed (XenbusStateClosing)

2015-10-02 Thread Konrad Rzeszutek Wilk
From: Cathy Avery xen-blkfront will crash if the check to talk_to_blkback() in blkback_changed()(XenbusStateInitWait) returns an error. The driver data is freed and info is set to NULL. Later during the close process via talk_to_blkback's call to xenbus_dev_fatal() the