[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180115.142243.1361498117671737724.davem@davemloft.net>
Date: Mon, 15 Jan 2018 14:22:43 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: r.hering@....de
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] net/tls: Fix inverted error codes to avoid endless loop
From: r.hering@....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
> interpreted as number of bytes sent, causing endless looping of the
> splice mechanic behind sendfile().
>
> Signed-off-by: Robert Hering <r.hering@....de>
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists