]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: hv: vmbus: Check before invoking the channel callback
authorK. Y. Srinivasan <kys@microsoft.com>
Sat, 27 Aug 2011 18:31:32 +0000 (11:31 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 29 Aug 2011 18:05:30 +0000 (11:05 -0700)
commitdc386785aac6ddd31d05cd22aa6fceef07d7d09f
tree5cece8bb824131959bf4227d1cc97b61458b2601
parentaf01233415dd87a018ebbce266bcec9d7eab2d69
Staging: hv: vmbus: Check before invoking the channel callback

When we close a channel, we set the corresponding callback function to NULL.
Check before invoking the channel callback.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/connection.c