]> 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)
commit54a1b9edf2fa54e9bfb3ef65940128064968e4ff
tree2e093df7217fdc197467e05623c4e9bf712462a6
parentcbbd8c410e6f5761b8df3aac1a4c692fd916e940
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