Bug 8330 - (patch queued)lmc: copy_to/from_user cals while spinlock is held
Summary: (patch queued)lmc: copy_to/from_user cals while spinlock is held
Status: CLOSED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: Network (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: Alan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-15 14:28 UTC by Matthias Kaehlcke
Modified: 2008-10-17 11:04 UTC (History)
0 users

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


Attachments

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

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