staging: hv: fix netvsc sleeping while atomic
authorTimo Teräs <timo.teras@iki.fi>
Fri, 17 Dec 2010 09:40:24 +0000 (11:40 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 20 Jan 2011 19:58:26 +0000 (11:58 -0800)
commitd70c673153d42e8aefd5ac296c8159ef222d076b
tree3311cd8ba40d173e565e5671444ecc1056baff71
parent268eff909afaca93188d2d14554cbf824f6a0e41
staging: hv: fix netvsc sleeping while atomic

The channel callbacks are called directly from vmbus_event_dpc
which runs in tasklet context. These callbacks need to use
GFP_ATOMIC.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=16701

Cc: Hank Janssen <hjanssen@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Timo Teräs <timo.teras@iki.fi>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/netvsc.c