Re: [PATCH v6 4/5] net/tcp: Do cleanup on tcp_md5_key_copy() failure
From: Eric Dumazet
Date: Thu Dec 01 2022 - 14:42:39 EST
On Wed, Nov 23, 2022 at 6:39 PM Dmitry Safonov <dima@xxxxxxxxxx> wrote:
>
> If the kernel was short on (atomic) memory and failed to allocate it -
> don't proceed to creation of request socket. Otherwise the socket would
> be unsigned and userspace likely doesn't expect that the TCP is not
> MD5-signed anymore.
>
> Signed-off-by: Dmitry Safonov <dima@xxxxxxxxxx>
> Acked-by: Jakub Kicinski <kuba@xxxxxxxxxx>
Reviewed-by: Eric Dumazet <edumazet@xxxxxxxxxx>