android_kernel_xiaomi_sm8350/net/tipc
Florian Westphal 9457106575 [TIPC]: fix tipc_link_create error handling
if printbuf allocation or tipc_node_attach_link() fails, invalid
references to the link are left in the associated node and bearer
structures.
Fix by allocating printbuf early and moving timer initialization
and the addition of the new link to the b_ptr->links list after
tipc_node_attach_link() succeeded.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-07-31 02:28:02 -07:00
..
addr.c
addr.h
bcast.c
bcast.h
bearer.c
bearer.h
cluster.c
cluster.h
config.c [SK_BUFF]: Convert skb->tail to sk_buff_data_t 2007-04-25 22:26:28 -07:00
config.h
core.c
core.h
dbg.c
dbg.h
discover.c
discover.h
eth_media.c [TIPC]: Improved support for Ethernet traffic filtering 2007-07-10 22:06:02 -07:00
handler.c mm: Remove slab destructors from kmem_cache_create(). 2007-07-20 10:11:58 +09:00
Kconfig [TIPC]: Use menuconfig objects. 2007-05-24 16:36:50 -07:00
link.c [TIPC]: fix tipc_link_create error handling 2007-07-31 02:28:02 -07:00
link.h
Makefile
msg.c
msg.h net/* misc endianness annotations 2007-07-26 11:11:56 -07:00
name_distr.c
name_distr.h
name_table.c some kmalloc/memset ->kzalloc (tree wide) 2007-07-19 10:04:50 -07:00
name_table.h
net.c
net.h
netlink.c [TIPC]: Fix infinite loop in netlink handler 2007-06-23 22:59:40 -07:00
node_subscr.c
node_subscr.h
node.c
node.h
port.c [TIPC]: Optimize stream send routine to avoid fragmentation 2007-07-10 22:06:12 -07:00
port.h [TIPC]: Optimize stream send routine to avoid fragmentation 2007-07-10 22:06:12 -07:00
ref.c
ref.h
socket.c [NET] TIPC: Fix whitespace errors. 2007-07-19 10:44:56 +09:00
subscr.c
subscr.h
user_reg.c
user_reg.h
zone.c
zone.h