Skip to content

mptcp: fix for ipv6-related oops

Paolo Abeni mptcp 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3selftests: fixup for IPv6 teststools/testing/selftests/net/mptcp/mptcp_connect.sh+12 -152 replies
2/3mptcp: use ipv6-specific proto structnet/mptcp/protocol.c+8 -22 replies
3/3mptcp/ipv6: mptcp_v6_prot needs costom destroy.net/mptcp/protocol.c+7 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [MPTCP] [PATCH 0/3] mptcp: fix for ipv6-related oops

We need to allocate a larger struct sock for mptcp v6 master sockets, otherwise inet6_sk() will access mptcp related data instead of struct ipv6_pinfo.

This should fix the crash reported by Matt.

The protocol.c code changes are split in 2 patches to simplify the squashing.
(yep, I know we somewhat agreed to big giant rebase, but this specific should be trivial).

Additionally adds some fixlet for the ipv6 tests

Paolo Abeni (3):
selftests: fixup for IPv6 tests
mptcp: use ipv6-specific proto struct
mptcp/ipv6: mptcp_v6_prot needs costom destroy.

 net/mptcp/protocol.c                          | 17 ++++++++++--
 .../selftests/net/mptcp/mptcp_connect.sh      | 27 +++++++++----------
 2 files changed, 27 insertions(+), 17 deletions(-)
Signature · 1 line
2.21.0