summaryrefslogtreecommitdiff
path: root/net/rds/ib_send.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2016-10-28 20:40:24 (GMT)
committerDavid S. Miller <davem@davemloft.net>2016-10-31 19:25:55 (GMT)
commite551c32d57c88923f99f8f010e89ca7ed0735e83 (patch)
treed9bf9bc1978e78b74c4df3f2e6cfdead536c1b33 /net/rds/ib_send.c
parentce6dd23329b1ee6a794acf5f7e40f8e89b8317ee (diff)
downloadlinux-e551c32d57c88923f99f8f010e89ca7ed0735e83.tar.xz
net: clear sk_err_soft in sk_clone_lock()
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>
Diffstat (limited to 'net/rds/ib_send.c')
0 files changed, 0 insertions, 0 deletions