]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: Minor optimization to deactivation of Ethernet media suppot
authorAllan Stephens <allan.stephens@windriver.com>
Wed, 19 Oct 2011 18:58:29 +0000 (14:58 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Tue, 27 Dec 2011 16:33:41 +0000 (11:33 -0500)
commitd93da992e808b3b4f4b7047fd0cd39159e349583
tree77d267ff594515bbe59b01c338c26d8c4d39aec2
parentde9fdf0d658ecf1f1652256766c262e782585cd2
tipc: Minor optimization to deactivation of Ethernet media suppot

Change TIPC's shutdown code to deactivate generic networking support
before terminating Ethernet media support. The deactivation of generic
networking support causes all existing bearers to be destroyed, meaning
the Ethernet media termination routine no longer has to bother marking
them as unavailable.

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