]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: Do timely cleanup of disabled Ethernet bearer resources
authorAllan Stephens <allan.stephens@windriver.com>
Wed, 19 Oct 2011 19:18:11 +0000 (15:18 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Tue, 27 Dec 2011 16:33:42 +0000 (11:33 -0500)
commitd12009b3e394c4a27987c7141cdeeee2e5242225
tree2e093df7217fdc197467e05623c4e9bf712462a6
parentd93da992e808b3b4f4b7047fd0cd39159e349583
tipc: Do timely cleanup of disabled Ethernet bearer resources

Modifies Ethernet bearer disable logic to break the association between
the bearer and its device driver at the time the bearer is disabled,
rather than when the TIPC module is unloaded. This allows the array
entry used by the disabled bearer to be re-used if the same bearer (or
a different one) is subsequently enabled.

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