Re: [tipc-discussion] [net] tipc: fix wrong connect() return code

2020-01-08 Thread David Miller
From: Tuong Lien Date: Wed, 8 Jan 2020 09:19:00 +0700 > The current 'tipc_wait_for_connect()' function does a wait-loop for the > condition 'sk->sk_state != TIPC_CONNECTING' to conclude if the socket > connecting has done. However, when the condition is met, it returns '0' > even in the case

Re: [tipc-discussion] [net] tipc: fix link overflow issue at socket shutdown

2020-01-08 Thread David Miller
From: Tuong Lien Date: Wed, 8 Jan 2020 09:18:15 +0700 > When a socket is suddenly shutdown or released, it will reject all the > unreceived messages in its receive queue. This applies to a connected > socket too, whereas there is only one 'FIN' message required to be sent > back to its peer in

Re: [tipc-discussion] [PATCH 2/2] tipc: remove meaningless assignment in Makefile

2020-01-08 Thread David Miller
From: Masahiro Yamada Date: Mon, 6 Jan 2020 16:35:27 +0900 > There is no module named tipc_diag. > > The assignment to tipc_diag-y has no effect. > > Signed-off-by: Masahiro Yamada Applied. ___ tipc-discussion mailing list

Re: [tipc-discussion] [PATCH 1/2] tipc: do not add socket.o to tipc-y twice

2020-01-08 Thread David Miller
From: Masahiro Yamada Date: Mon, 6 Jan 2020 16:35:26 +0900 > net/tipc/Makefile adds socket.o twice. > > tipc-y+= addr.o bcast.o bearer.o \ >core.o link.o discover.o msg.o \ >name_distr.o subscr.o monitor.o name_table.o net.o \ >netlink.o