Skip to content

Commit

Permalink
[DCCP]: Set RTO for newly created child socket
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Gerrit Renker authored and David S. Miller committed Mar 6, 2007
1 parent 4d46861 commit 99c72ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/dccp/minisocks.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 99c72ce

Please sign in to comment.