|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] Talk_to_backend on xenbus_probe only if drv->probe w
Hi,
This patch makes xenbus_probe only call talk_to_backend if drv->probe() was
sucessful.
There is no sense in add a watch before drv->probe, because if it fails the
otherend_changed callback will be called and receive a struct with invalid
pointers and we get a segfault (ooops).
--
Murillo Fernandes Bernardes
IBM Linux Technology Center
talk_to_backend-after-drv_probe.patch
Description: Text Data
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH] Talk_to_backend on xenbus_probe only if drv->probe was sucessful,
Murillo Bernardes <=
|
|
|
|
|