Bug 8330

Summary: (patch queued)lmc: copy_to/from_user cals while spinlock is held
Product: Drivers Reporter: Matthias Kaehlcke (matthias.kaehlcke)
Component: NetworkAssignee: Alan (alan)
Status: CLOSED CODE_FIX    
Severity: normal    
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6.27 Subsystem:
Regression: --- Bisected commit-id:

Description Matthias Kaehlcke 2007-04-15 14:28:38 UTC
Problem Description:

the lmc_ioctl() function in drivers/net/wan/lmc/lmc_main.c calls
copy_from/to_user() while the spinlock sc->lmc_lock is held. AFAIK this should
not be done as copy_from/to_user() might sleep
Comment 1 Alan 2008-10-17 11:04:01 UTC
Merged for 2.6.28