aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/adis16255
diff options
context:
space:
mode:
authorSven Eckelmann <sven.eckelmann@gmx.de>2010-05-22 17:48:47 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-06-04 13:38:56 -0700
commit0375fc4d2748b7c7064d481b36e32ef19e43d8db (patch)
tree3da3845138386c843dd51d8b7b89867a624beea8 /drivers/staging/adis16255
parentStaging: batman-adv: Don't call free_netdev twice (diff)
downloadlinux-dev-0375fc4d2748b7c7064d481b36e32ef19e43d8db.tar.xz
linux-dev-0375fc4d2748b7c7064d481b36e32ef19e43d8db.zip
Staging: batman-adv: Don't allocate icmp packet with GFP_KERNEL
A new buffer for a packet is created when a icmp packet is received. This happens in a context with disabled irq. Thus we are not allowed to sleep or call function which might sleep. kmalloc must be called with GFP_ATOMIC instead of GFP_KERNEL to ensure that it does not sleep. Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/adis16255')
0 files changed, 0 insertions, 0 deletions