tcp: move app_limited init to tcp_disconnect()
authorEric Dumazet <edumazet@google.com>
Thu, 17 Jan 2019 19:23:40 +0000 (11:23 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Jan 2019 06:19:05 +0000 (22:19 -0800)
commit6cda8b7493ac323c3b58a9a897abc0e6432d5a1d
tree4cfbfc24e0e898605ca44992d1f8443c7a76f33c
parent5c701549c9a653a4335dbb2aecb4935de442b87d
tcp: move app_limited init to tcp_disconnect()

If we make sure all listeners have app_limited set to ~0U,
then a clone will also inherit proper initial value.

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