]> git.hungrycats.org Git - linux/commit
[PATCH] USB Gadget: ethernet gadget locking tweaks
authorDavid Brownell <david-b@pacbell.net>
Thu, 5 Feb 2004 08:26:16 +0000 (00:26 -0800)
committerGreg Kroah-Hartman <greg@kroah.com>
Thu, 5 Feb 2004 08:26:16 +0000 (00:26 -0800)
commiteb9c3a2863514a13b9bf2f206fd9bd2b941127b5
tree27e39c29740495459b165bfde0f148486370662e
parent2c5fdde74bf23434bf18ee9dc14bb7a91474a112
[PATCH] USB Gadget: ethernet gadget locking tweaks

[USB] ethernet gadget, locking tweaks

This problem showed pretty quickly on an SMP system.  Basically,
access to the freelist (tx more than rx) needs a spinlock.

Stop repeating some alloc_etherdev() work.  Disable DEBUG messages.
drivers/usb/gadget/ether.c