aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/af_inet.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@ghostprotocols.net>2005-08-09 23:11:41 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2005-08-29 18:49:24 -0400
commit0a5578cf8e5e045aaa68643c17ce885426697c6b (patch)
tree1c58ba5c3236499ec5abeedcc43faa7bed816b07 /net/ipv4/af_inet.c
parent9f1d2604c71498579609b1532fedc5a89276bb00 (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.c2
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 }