diff options
author | William Allen Simpson <william.allen.simpson@gmail.com> | 2009-12-02 18:07:39 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-12-02 22:07:23 -0800 |
commit | e6b4d11367519bc71729c09d05a126b133c755be (patch) | |
tree | b5d99b115a6ca9564d367b243a826d8b09da237e /net/dccp/minisocks.c | |
parent | e00484023ebe94dce03fdd1270edf3e191c2bc79 (diff) | |
download | linux-3.10-e6b4d11367519bc71729c09d05a126b133c755be.tar.gz linux-3.10-e6b4d11367519bc71729c09d05a126b133c755be.tar.bz2 linux-3.10-e6b4d11367519bc71729c09d05a126b133c755be.zip |
TCPCT part 1a: add request_values parameter for sending SYNACK
Add optional function parameters associated with sending SYNACK.
These parameters are not needed after sending SYNACK, and are not
used for retransmission. Avoids extending struct tcp_request_sock,
and avoids allocating kernel memory.
Also affects DCCP as it uses common struct request_sock_ops,
but this parameter is currently reserved for future use.
Signed-off-by: William.Allen.Simpson@gmail.com
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/minisocks.c')
-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 5ca49cec95f..af226a06314 100644 --- a/net/dccp/minisocks.c +++ b/net/dccp/minisocks.c @@ -184,7 +184,7 @@ struct sock *dccp_check_req(struct sock *sk, struct sk_buff *skb, * counter (backoff, monitored by dccp_response_timer). */ req->retrans++; - req->rsk_ops->rtx_syn_ack(sk, req); + req->rsk_ops->rtx_syn_ack(sk, req, NULL); } /* Network Duplicate, discard packet */ return NULL; |