Bug 8343 - irda_device_dongle_init() calls kzalloc(GFP_KERNEL) while a spinlock is held
Summary: irda_device_dongle_init() calls kzalloc(GFP_KERNEL) while a spinlock is held
Status: RESOLVED CODE_FIX
Alias: None
Product: Networking
Classification: Unclassified
Component: Other (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: Arnaldo Carvalho de Melo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-16 14:37 UTC by Matthias Kaehlcke
Modified: 2007-04-22 15:20 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.20
Subsystem:
Regression: ---
Bisected commit-id:


Attachments

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

Note You need to log in before you can comment on or make changes to this bug.