android_kernel_xiaomi_sm8350/net/dccp
Eric Dumazet 9327f7053e tcp: Fix a connect() race with timewait sockets
First patch changes __inet_hash_nolisten() and __inet6_hash()
to get a timewait parameter to be able to unhash it from ehash
at same time the new socket is inserted in hash.

This makes sure timewait socket wont be found by a concurrent
writer in __inet_check_established()

Reported-by: kapil dakhane <kdakhane@gmail.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-12-08 20:17:51 -08:00
..
ccids dccp ccid-3: Remove CCID naming redundancy 2/2 2009-10-07 13:51:24 -07:00
ackvec.c
ackvec.h
ccid.c
ccid.h
dccp.h net: Make setsockopt() optlen be unsigned. 2009-09-30 16:12:20 -07:00
diag.c
feat.c
feat.h
input.c
ipv4.c tcp: Fix a connect() race with timewait sockets 2009-12-08 20:17:51 -08:00
ipv6.c tcp: Fix a connect() race with timewait sockets 2009-12-08 20:17:51 -08:00
ipv6.h
Kconfig
Makefile
minisocks.c TCPCT part 1a: add request_values parameter for sending SYNACK 2009-12-02 22:07:23 -08:00
options.c
output.c inet: rename some inet_sock fields 2009-10-18 18:52:53 -07:00
probe.c inet: rename some inet_sock fields 2009-10-18 18:52:53 -07:00
proto.c inet: rename some inet_sock fields 2009-10-18 18:52:53 -07:00
sysctl.c sysctl net: Remove unused binary sysctl code 2009-11-12 02:05:06 -08:00
timer.c net: Fix for dst_negative_advice 2009-10-20 18:55:46 -07:00