Re: [PATCH] net/tls: Fix inverted error codes to avoid endless loop

2018-01-15 Thread David Miller
From: r.her...@avm.de Date: Fri, 12 Jan 2018 15:42:06 +0100 > sendfile() calls can hang endless with using Kernel TLS if a socket error > occurs. > Socket error codes must be inverted by Kernel TLS before returning because > they are stored with positive sign. If returned non-inverted they are >

[PATCH] net/tls: Fix inverted error codes to avoid endless loop

2018-01-12 Thread r . hering
sendfile() calls can hang endless with using Kernel TLS if a socket error occurs. Socket error codes must be inverted by Kernel TLS before returning because they are stored with positive sign. If returned non-inverted they are interpreted as number of bytes sent, causing endless looping of the spl

Re: [PATCH] net/tls: Fix inverted error codes to avoid endless loop

2017-12-15 Thread David Miller
From: r.her...@avm.de Date: Thu, 14 Dec 2017 19:55:14 +0100 > sendfile() calls can hang endless with using Kernel TLS if a socket error > occurs. > Socket error codes must be inverted by Kernel TLS before returning because > they are stored with positive sign. If returned non-inverted they are >

[PATCH] net/tls: Fix inverted error codes to avoid endless loop

2017-12-14 Thread r . hering
sendfile() calls can hang endless with using Kernel TLS if a socket error occurs. Socket error codes must be inverted by Kernel TLS before returning because they are stored with positive sign. If returned non-inverted they are interpreted as number of bytes sent, causing endless looping of the spl

Re: [PATCH] net/tls: Fix inverted error codes to avoid endless loop

2017-12-13 Thread David Miller
From: r.her...@avm.de Date: Mon, 11 Dec 2017 19:56:21 +0100 > sendfile() calls can hang endless with using Kernel TLS if a socket error > occurs. > Socket error codes must be inverted by Kernel TLS before returning because > they are stored with positive sign. If returned non-inverted they are >

[PATCH] net/tls: Fix inverted error codes to avoid endless loop

2017-12-11 Thread r . hering
sendfile() calls can hang endless with using Kernel TLS if a socket error occurs. Socket error codes must be inverted by Kernel TLS before returning because they are stored with positive sign. If returned non-inverted they are interpreted as number of bytes sent, causing endless looping of the spl