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)
commit8c12118db77dce5a7abf1a0e87af56592fdd7c09
tree77d267ff594515bbe59b01c338c26d8c4d39aec2
parentbfec73d7e45cdf570d649a547050295789e1e6fb
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