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>

authored by

Timo Teräs and committed by
Greg Kroah-Hartman
d70c6731 268eff90

+1 -1
+1 -1
drivers/staging/hv/netvsc.c
··· 1279 1279 /* ASSERT(device); */ 1280 1280 1281 1281 packet = kzalloc(NETVSC_PACKET_SIZE * sizeof(unsigned char), 1282 - GFP_KERNEL); 1282 + GFP_ATOMIC); 1283 1283 if (!packet) 1284 1284 return; 1285 1285 buffer = packet;