diff options
author | Arnaldo Carvalho de Melo <acme@ghostprotocols.net> | 2005-08-09 23:11:41 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-08-29 18:49:24 -0400 |
commit | 0a5578cf8e5e045aaa68643c17ce885426697c6b (patch) | |
tree | 1c58ba5c3236499ec5abeedcc43faa7bed816b07 /net/ipv4/af_inet.c | |
parent | 9f1d2604c71498579609b1532fedc5a89276bb00 (diff) |
[ICSK]: Generalise tcp_listen_{start,stop}
This also moved inet_iif from tcp to inet_hashtables.h, as it is
needed by the inet_lookup callers, perhaps this needs a bit of
polishing, but for now seems fine.
Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/af_inet.c')
-rw-r--r-- | net/ipv4/af_inet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c index 7137e6420d66..f691058cf599 100644 --- a/net/ipv4/af_inet.c +++ b/net/ipv4/af_inet.c | |||
@@ -202,7 +202,7 @@ int inet_listen(struct socket *sock, int backlog) | |||
202 | * we can only allow the backlog to be adjusted. | 202 | * we can only allow the backlog to be adjusted. |
203 | */ | 203 | */ |
204 | if (old_state != TCP_LISTEN) { | 204 | if (old_state != TCP_LISTEN) { |
205 | err = tcp_listen_start(sk); | 205 | err = inet_csk_listen_start(sk, TCP_SYNQ_HSIZE); |
206 | if (err) | 206 | if (err) |
207 | goto out; | 207 | goto out; |
208 | } | 208 | } |