]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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, 17 Feb 2011 22:46:45 +0000 (14:46 -0800)
commit12347414227879cb9d1b31d3ad0efd78329bc983
tree044bdeef55eb7a60e4b045f81b1e75bf593d4804
parent67afcd29eae493a94c0f3a85691366ade0441486
staging: hv: fix netvsc sleeping while atomic

commit d70c673153d42e8aefd5ac296c8159ef222d076b upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/netvsc.c