]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: move rx_opt & syn_data_acked init to tcp_disconnect()
authorEric Dumazet <edumazet@google.com>
Thu, 17 Jan 2019 19:23:42 +0000 (11:23 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Jan 2019 06:19:05 +0000 (22:19 -0800)
commit394c5dfb08f1d4b43047bbd45d0d145e6d07a1cc
treee432d56cc0b4e01edc9e755e231143a6afea0613
parent8841a37081476b0ca2c44884198a257ec4e2310e
tcp: move rx_opt & syn_data_acked init to tcp_disconnect()

If we make sure all listeners have these fields cleared, then a clone
will also inherit zero values.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp.c
net/ipv4/tcp_minisocks.c