Re: [PATCH net v1 1/2] tipc: fix socket flow control accounting error at tipc_send_stream

2017-04-25 Thread David Miller
From: Parthasarathy Bhuvaragan Date: Mon, 24 Apr 2017 15:00:42 +0200 > Until now in tipc_send_stream(), we return -1 when the socket > encounters link congestion even if the socket had successfully > sent partial data. This is incorrect as the application

[PATCH net v1 1/2] tipc: fix socket flow control accounting error at tipc_send_stream

2017-04-24 Thread Parthasarathy Bhuvaragan
Until now in tipc_send_stream(), we return -1 when the socket encounters link congestion even if the socket had successfully sent partial data. This is incorrect as the application resends the same the partial data leading to data corruption at receiver's end. In this commit, we return the