Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
mptcp: Fix TCP_FASTOPEN server-side processing
Browse files Browse the repository at this point in the history
During the merge, I incorrectly set rcv_nxt again on the child-socket.
That's not needed, thus revert it again.

Fixes: c61bc63 ("Merge tag 'v4.15-rc3' into mptcp_trunk")
Signed-off-by: Christoph Paasch <cpaasch@apple.com>
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
  • Loading branch information
cpaasch authored and matttbe committed Feb 9, 2018
1 parent b4dd961 commit 0dcf836
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions net/ipv4/tcp_fastopen.c
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,6 @@ static struct sock *tcp_fastopen_create_child(struct sock *sk,
/* Now finish processing the fastopen child socket. */
tcp_init_transfer(child, BPF_SOCK_OPS_PASSIVE_ESTABLISHED_CB);

tp->rcv_nxt = TCP_SKB_CB(skb)->seq + 1;

/* tcp_conn_request() is sending the SYNACK,
* and queues the child into listener accept queue.
*/
Expand Down

0 comments on commit 0dcf836

Please sign in to comment.