diff options
author | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2007-03-06 14:24:44 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-03-06 14:24:44 -0800 |
commit | 99c72ce091ec85868a0847e598eb7562dc0d8205 (patch) | |
tree | 77cd1c70f58d56c81f17b9ea575a9773fb7d3144 /net | |
parent | 4d46861be6196d0f1614724590968d8da26af82a (diff) | |
download | op-kernel-dev-99c72ce091ec85868a0847e598eb7562dc0d8205.zip op-kernel-dev-99c72ce091ec85868a0847e598eb7562dc0d8205.tar.gz |
[DCCP]: Set RTO for newly created child socket
This mirrors a recent change in tcp_open_req_child, whereby the icsk_rto of the
newly created child socket was not set (but rather on the parent socket). Same
fix for DCCP.
Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/dccp/minisocks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dccp/minisocks.c b/net/dccp/minisocks.c index 6656bb4..6d235b3 100644 --- a/net/dccp/minisocks.c +++ b/net/dccp/minisocks.c @@ -103,7 +103,7 @@ struct sock *dccp_create_openreq_child(struct sock *sk, if (newsk != NULL) { const struct dccp_request_sock *dreq = dccp_rsk(req); - struct inet_connection_sock *newicsk = inet_csk(sk); + struct inet_connection_sock *newicsk = inet_csk(newsk); struct dccp_sock *newdp = dccp_sk(newsk); struct dccp_minisock *newdmsk = dccp_msk(newsk); |