Staging: hv: util: Invoke cn_netlink_send() in a work context
commite2bb65378385a10e21612845e33cd5936e0cbadb
authorK. Y. Srinivasan <kys@microsoft.com>
Mon, 10 Oct 2011 02:42:28 +0000 (9 19:42 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 Oct 2011 04:50:00 +0000 (10 22:50 -0600)
treeefd641a6591d29e5a05da80ce6eb707b0c1c3cde
parent76e5f8135d63eb784ef44438e46e82cf0329e179
Staging: hv: util: Invoke cn_netlink_send() in a work context

Invoke cn_netlink_send() in a work context as opposed being called
in the context of  channel callback. On entry into the channel callback
code the channel inbound spin lock is held and deferring to a work
context avoids having to invoke cn_netlink_send() while holding
the inbound lock. As part of this adjustment, also increase the
timeout value for waiting for the user level component of KVP.

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/hv_kvp.c