[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161031.152626.935222118240640552.davem@davemloft.net>
Date: Mon, 31 Oct 2016 15:26:26 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org, soheil@...gle.com
Subject: Re: [PATCH net] net: clear sk_err_soft in sk_clone_lock()
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Fri, 28 Oct 2016 13:40:24 -0700
> From: Eric Dumazet <edumazet@...gle.com>
>
> At accept() time, it is possible the parent has a non zero
> sk_err_soft, leftover from a prior error.
>
> Make sure we do not leave this value in the child, as it
> makes future getsockopt(SO_ERROR) calls quite unreliable.
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Applied and queued up for -stable, thanks Eric.
Powered by blists - more mailing lists