From: Eric Dumazet <eric.duma...@gmail.com> Date: Fri, 28 Oct 2016 13:40:24 -0700
> From: Eric Dumazet <eduma...@google.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 <eduma...@google.com> Applied and queued up for -stable, thanks Eric.