Re: [tipc-discussion] [PATCH net v1 5/7] tipc: improve error validations for sockets in CONNECTING state

2017-03-20 Thread Jon Maloy
> -Original Message- > From: Parthasarathy Bhuvaragan > Sent: Monday, March 20, 2017 05:10 AM > To: tipc-discussion@lists.sourceforge.net; Jon Maloy > ; Ying Xue > Subject: [PATCH net v1 5/7] tipc: improve error validations for sockets in > CONNECTING state > > Until now, the checks for

[tipc-discussion] [PATCH net v1 5/7] tipc: improve error validations for sockets in CONNECTING state

2017-03-20 Thread Parthasarathy Bhuvaragan
Until now, the checks for sockets in CONNECTING state was based on the assumption that the incoming message was always from the peer's accepted data socket. However an application using a non-blocking socket sends an implicit connect, this socket which is in CONNECTING state can receive error mess