Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix support for outbound echoed ADD_ADDR #46

Merged
merged 2 commits into from
Mar 3, 2021

Conversation

dcaratti
Copy link
Collaborator

No description provided.

Copy link
Member

@matttbe matttbe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thx for the fixes!

And good idea to add addr_echo keyword!

I think you left one debug command. Also added one question and if you don't mind, some suggestions regarding the code style :)

gtests/net/mptcp/add_addr/add_addr_server.pkt Outdated Show resolved Hide resolved
gtests/net/mptcp/mp_join/mp_join_server_v4.pkt Outdated Show resolved Hide resolved
gtests/net/mptcp/mp_join/mp_join_server_v4.pkt Outdated Show resolved Hide resolved
@dcaratti dcaratti force-pushed the gh54 branch 2 times, most recently from 6515047 to e4bd8d7 Compare March 1, 2021 14:38
@dcaratti dcaratti requested a review from matttbe March 2, 2021 10:11
Copy link
Member

@matttbe matttbe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the new version! I have a couple of questions if you don't mind :-)

gtests/net/mptcp/add_addr/add_addr_server.pkt Show resolved Hide resolved
gtests/net/mptcp/syscalls/accept_v4.pkt Outdated Show resolved Hide resolved
gtests/net/mptcp/syscalls/close_before_accept.pkt Outdated Show resolved Hide resolved
gtests/net/mptcp/mp_join/mp_join_server_v4.pkt Outdated Show resolved Hide resolved
gtests/net/mptcp/mp_join/mp_join_server_v4.pkt Outdated Show resolved Hide resolved
- fix segmentation fault in case the endpoint is not found
- fix wrong endpoint "guess" when port is not specified

Link: multipath-tcp/mptcp_net-next#54
Signed-off-by: Davide Caratti <dcaratti@redhat.com>
Copy link
Member

@matttbe matttbe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thx for the update!
one last thing :-)

gtests/net/mptcp/mp_join/mp_join_server_v4.pkt Outdated Show resolved Hide resolved

// close connection
+0.0 < addr[caddr0] > addr[saddr0] F. 3:3(0) ack 1 win 256 <nop, nop, TS val 4074418292 ecr 4074418293, dss dack4=1 dsn8=3 ssn=0 dll=1 nocs fin, nop, nop>
+0.0 < > addr[saddr1] F. 1:1(0) ack 1 win 256 <nop, nop, TS val 448955294 ecr 448955294>
+0.0 < > addr[saddr1] F. 1:1(0) ack 1 win 256
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure we need to modify this line but maybe not hurting

while at it, change parser to use a keyword to specify the echo bit
set in ADD_ADDR messages.

Link: multipath-tcp/mptcp_net-next#54
Signed-off-by: Davide Caratti <dcaratti@redhat.com>
Copy link
Member

@matttbe matttbe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the updates! :-)

@matttbe matttbe merged commit d57954e into multipath-tcp:mptcp-net-next Mar 3, 2021
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.

2 participants