android_kernel_xiaomi_sm8350/net/tipc
Allan Stephens 7ef43ebaa5 tipc: Fix race condition when creating socket or native port
This patch eliminates the (very remote) chance of a crash resulting
from a partially initialized socket or native port unexpectedly
receiving a message.  Now, during the creation of a socket or native
port, the underlying generic port's lock is not released until all
initialization required to handle incoming messages has been done.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-05-12 15:42:28 -07:00
..
addr.c
addr.h
bcast.c
bcast.h
bearer.c
bearer.h
cluster.c tipc: fix integer as NULL pointer sparse warnings in tipc 2008-02-24 18:38:31 -08:00
cluster.h
config.c tipc: Simplify log buffer resizing 2008-05-05 01:20:04 -07:00
config.h
core.c tipc: Update version number to TIPC 1.6.4 2008-05-05 01:24:36 -07:00
core.h tipc: Exclude debug-only print buffer code when not debugging 2008-05-05 01:24:06 -07:00
dbg.c tipc: Exclude debug-only print buffer code when not debugging 2008-05-05 01:24:06 -07:00
dbg.h tipc: Elimination of print buffer chaining 2008-05-05 01:22:30 -07:00
discover.c
discover.h
eth_media.c [NET] NETNS: Omit net_device->nd_net without CONFIG_NET_NS. 2008-03-26 04:39:53 +09:00
handler.c
Kconfig
link.c tipc: Exclude debug-only print buffer code when not debugging 2008-05-05 01:24:06 -07:00
link.h
Makefile
msg.c tipc: Exclude debug-only print buffer code when not debugging 2008-05-05 01:24:06 -07:00
msg.h tipc: endianness annotations 2008-04-27 14:26:49 -07:00
name_distr.c tipc: Fix null pointer dereference in debug code 2008-05-05 01:21:54 -07:00
name_distr.h
name_table.c tipc: Enhancements to name table initialization 2008-05-12 15:41:53 -07:00
name_table.h
net.c
net.h
netlink.c
node_subscr.c
node_subscr.h
node.c
node.h
port.c tipc: Fix race condition when creating socket or native port 2008-05-12 15:42:28 -07:00
port.h
ref.c tipc: Fix race condition when creating socket or native port 2008-05-12 15:42:28 -07:00
ref.h [TIPC]: Remove inlining of reference table locking routines 2008-04-16 18:21:16 -07:00
socket.c tipc: Fix race condition when creating socket or native port 2008-05-12 15:42:28 -07:00
subscr.c tipc: Fix race condition when creating socket or native port 2008-05-12 15:42:28 -07:00
subscr.h
user_reg.c
user_reg.h
zone.c tipc: fix integer as NULL pointer sparse warnings in tipc 2008-02-24 18:38:31 -08:00
zone.h