Files
kernel_amazon_mt8127-common/net/core
Eric Dumazet 9385be2ecf net: clear sk_err_soft in sk_clone_lock()
commit e551c32d57c88923f99f8f010e89ca7ed0735e83 upstream.

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@google.com>
Acked-by: Soheil Hassas Yeganeh <soheil@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Willy Tarreau <w@1wt.eu>
2017-02-10 11:03:53 +01:00
..
2017-02-10 11:03:47 +01:00
2016-06-07 10:42:54 +02:00
2014-08-14 09:24:15 +08:00