Displaying 1 result from an estimated 1 matches for "ctrl_if_txmsg_id_mapping".
2005 Jul 20
0
[PATCH] Control Interface tx tasklet
...005+++ b/linux-2.6-xen-sparse/arch/xen/kernel/ctrl_if.c Tue Jul 19 15:52:39 2005@@ -141,7 +141,7 @@
msg->type, msg->subtype);
/* Execute the callback handler, if one was specified. */
- if ( msg->id != 0xFF )
+ if ( msg->id != 0xFF && *ctrl_if_txmsg_id_mapping[msg->id].fn != NULL)
{
(*ctrl_if_txmsg_id_mapping[msg->id].fn)(
msg, ctrl_if_txmsg_id_mapping[msg->id].id);
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel