summaryrefslogtreecommitdiff
path: root/drivers/isdn
diff options
context:
space:
mode:
authorDavid Brownell <david-b@pacbell.net>2007-01-17 09:56:26 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2007-02-08 02:44:38 +0300
commit5b89db02a5a7c8bad3c6fb7888778082a441b385 (patch)
tree0d9f11ff8cb328fd79dfb77dd8a773cfbb47a366 /drivers/isdn
parent0864c7a9286b02319d3db2103bada1c2269c1e1e (diff)
downloadlinux-5b89db02a5a7c8bad3c6fb7888778082a441b385.tar.xz
USB: gadgetfs race fix
This resolves a race in gadgetfs associated with changing device/ep0 when processing control requests. The fix is to change that state earlier, when the control response is issued, so there's no window in which userspace could see the wrong state; and enlarge the scope of the spinlock during the ep0 request completion handler. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/isdn')
0 files changed, 0 insertions, 0 deletions