Skip to content

Commit ac8cfc7

Browse files
edumazetdavem330
authored andcommitted
tcp: restore fastopen operations
I accidentally cleared fastopenq.max_qlen in reqsk_queue_alloc() while max_qlen can be set before listen() is called, using TCP_FASTOPEN socket option for example. Fixes: 0536fcc ("tcp: prepare fastopen code for upcoming listener changes") Signed-off-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 77946de commit ac8cfc7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

net/core/request_sock.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ void reqsk_queue_alloc(struct request_sock_queue *queue)
4545
queue->fastopenq.rskq_rst_head = NULL;
4646
queue->fastopenq.rskq_rst_tail = NULL;
4747
queue->fastopenq.qlen = 0;
48-
queue->fastopenq.max_qlen = 0;
4948

5049
queue->rskq_accept_head = NULL;
5150
}

0 commit comments

Comments
 (0)