]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
p54: fix race condition in memory management
authorChristian Lamparter <chunkeey@web.de>
Thu, 5 Mar 2009 23:53:59 +0000 (00:53 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 6 Mar 2009 20:54:32 +0000 (15:54 -0500)
commitc0350024723b4a69e38655816484d934aca8eb30
tree3c7ab2ba6f97daf654249fb4ed98f3b1922955a9
parentbd05f28e1a15ae62994fe309a524695fe26dd834
p54: fix race condition in memory management

This patch fixes a number of race conditions in the driver.
Up until now, "entry" pointer was initialized before acquiring the right lock.

Signed-off-by: Christian Lamparter <chunkeey@web.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/p54/p54common.c