android_kernel_xiaomi_sm8350/net/tipc
Allan Stephens ccc901ee58 tipc: Simplify bearer shutdown logic
Optimize processing in TIPC's bearer shutdown code, including:

1. Remove an unnecessary check to see if TIPC bearer's can exist.
2. Don't release spinlocks before calling a media-specific disabling
routine, since the routine can't sleep.
3. Make bearer_disable() operate directly on a struct bearer, instead
of needlessly taking a name and then mapping that to the struct.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Reviewed-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-10-18 01:50:49 -07:00
..
addr.c tipc: cleanup function namespace 2010-10-16 11:13:24 -07:00
addr.h tipc: Reduce footprint by un-inlining address routines 2010-05-12 23:02:26 -07:00
bcast.c tipc: cleanup function namespace 2010-10-16 11:13:24 -07:00
bcast.h tipc: cleanup function namespace 2010-10-16 11:13:24 -07:00
bearer.c tipc: Simplify bearer shutdown logic 2010-10-18 01:50:49 -07:00
bearer.h tipc: Reduce footprint by un-inlining bearer congestion routine 2010-05-12 23:02:28 -07:00
cluster.c tipc: cleanup function namespace 2010-10-16 11:13:24 -07:00
cluster.h tipc: cleanup function namespace 2010-10-16 11:13:24 -07:00
config.c tipc: cleanup function namespace 2010-10-16 11:13:24 -07:00
config.h tipc: cleanup function namespace 2010-10-16 11:13:24 -07:00
core.c tipc: Kill tipc_get_mode() completely. 2010-10-18 01:06:20 -07:00
core.h tipc: cleanup function namespace 2010-10-16 11:13:24 -07:00
dbg.c tipc: cleanup function namespace 2010-10-16 11:13:24 -07:00
dbg.h tipc: cleanup function namespace 2010-10-16 11:13:24 -07:00
discover.c tipc: cleanup function namespace 2010-10-16 11:13:24 -07:00
discover.h tipc: cleanup function namespace 2010-10-16 11:13:24 -07:00
eth_media.c tipc: Optimize handling excess content on incoming messages 2010-09-09 21:34:14 -07:00
handler.c
Kconfig
link.c tipc: cleanup function namespace 2010-10-16 11:13:24 -07:00
link.h tipc: cleanup function namespace 2010-10-16 11:13:24 -07:00
Makefile
msg.c tipc: cleanup function namespace 2010-10-16 11:13:24 -07:00
msg.h net: return operator cleanup 2010-09-23 14:33:39 -07:00
name_distr.c tipc: cleanup function namespace 2010-10-16 11:13:24 -07:00
name_distr.h
name_table.c tipc: clean out all instances of #if 0'd unused code 2010-10-13 14:27:34 -07:00
name_table.h
net.c tipc: clean out all instances of #if 0'd unused code 2010-10-13 14:27:34 -07:00
net.h
netlink.c
node_subscr.c
node_subscr.h
node.c tipc: cleanup function namespace 2010-10-16 11:13:24 -07:00
node.h tipc: cleanup function namespace 2010-10-16 11:13:24 -07:00
port.c tipc: cleanup function namespace 2010-10-16 11:13:24 -07:00
port.h tipc: cleanup function namespace 2010-10-16 11:13:24 -07:00
ref.c tipc: cleanup function namespace 2010-10-16 11:13:24 -07:00
ref.h tipc: cleanup function namespace 2010-10-16 11:13:24 -07:00
socket.c net: return operator cleanup 2010-09-23 14:33:39 -07:00
subscr.c tipc: cleanup function namespace 2010-10-16 11:13:24 -07:00
subscr.h
user_reg.c
user_reg.h
zone.c tipc: cleanup function namespace 2010-10-16 11:13:24 -07:00
zone.h tipc: cleanup function namespace 2010-10-16 11:13:24 -07:00