Skip to content

packetdrill: mptcp: add SO_SNDBUF sync test#193

Open
Dwyane-Yan wants to merge 2 commits intomultipath-tcp:mptcp-net-nextfrom
Dwyane-Yan:mptcp-net-next
Open

packetdrill: mptcp: add SO_SNDBUF sync test#193
Dwyane-Yan wants to merge 2 commits intomultipath-tcp:mptcp-net-nextfrom
Dwyane-Yan:mptcp-net-next

Conversation

@Dwyane-Yan
Copy link
Copy Markdown

Add a packetdrill test to verify that the MPTCP-level sk_sndbuf is correctly synced with the subflow's send buffer.

The test sets tcp_wmem[0] to 1024, establishes an MPTCP connection, and checks that the MPTCP socket's send buffer equals 'tcp_wmem[0] + first_subflow->sk_sndbuf'.

Add a packetdrill test to verify that the MPTCP-level sk_sndbuf
is correctly synced with the subflow's send buffer.

The test sets tcp_wmem[0] to 1024, establishes an MPTCP connection,
and checks that the MPTCP socket's send buffer equals
'tcp_wmem[0] + first_subflow->sk_sndbuf'.

Signed-off-by: Gang Yan <yangang@kylinos.cn>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant