]> 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)
commitcbbd8c410e6f5761b8df3aac1a4c692fd916e940
tree77d267ff594515bbe59b01c338c26d8c4d39aec2
parent5111a50cb1db222692f2917e4e2be2e12953bd05
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