]> git.karo-electronics.de Git - mv-sheeva.git/commit
tipc: Fix unsafe device list search when enabling bearer
authorAllan Stephens <allan.stephens@windriver.com>
Fri, 27 May 2011 17:59:17 +0000 (13:59 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 18 Sep 2011 02:55:05 +0000 (22:55 -0400)
commitbcd326e844c46e0533a79f91e75dea160469cf86
treec1c6172089ca0ceb98625eb8ffb4f79979f91ce2
parentb4b5610223f17790419b03eaa962b0e3ecf930d7
tipc: Fix unsafe device list search when enabling bearer

Ensures that the device list lock is held while trying to locate
the Ethernet device used by a newly enabled bearer, so that the
addition or removal of a device does not cause problems.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
net/tipc/eth_media.c