Bug 8343

Summary: irda_device_dongle_init() calls kzalloc(GFP_KERNEL) while a spinlock is held
Product: Networking Reporter: Matthias Kaehlcke (matthias.kaehlcke)
Component: OtherAssignee: Arnaldo Carvalho de Melo (acme)
Status: RESOLVED CODE_FIX    
Severity: normal CC: samuel
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6.20 Subsystem:
Regression: --- Bisected commit-id:

Description Matthias Kaehlcke 2007-04-16 14:37:32 UTC
Problem Description:

irda_device_dongle_init() in ./net/irda/irda_device.c calls kzalloc(GFP_KERNEL)
while the spinlock dongles->hb_spinlock is held. this should not be done as
kzalloc(GFP_KERNEL) might sleep
Comment 1 Andrew Morton 2007-04-20 14:33:32 UTC
I queued a fix