Author: marek Date: 2009-09-10 16:31:08 +0000 (Thu, 10 Sep 2009) New Revision: 1432
Modified: trunk/batman-adv-kernelland/vis.c Log: [batman-adv] can't sleep while holding a spinlock
Modified: trunk/batman-adv-kernelland/vis.c =================================================================== --- trunk/batman-adv-kernelland/vis.c 2009-09-09 15:12:08 UTC (rev 1431) +++ trunk/batman-adv-kernelland/vis.c 2009-09-10 16:31:08 UTC (rev 1432) @@ -497,7 +497,7 @@ goto err; }
- my_vis_info = kmalloc(1000, GFP_KERNEL); + my_vis_info = kmalloc(1000, GFP_ATOMIC); if (!my_vis_info) { debug_log(LOG_TYPE_CRIT, "Can't initialize vis packet\n"); goto err;