Skip to contentSkip to conversation

mptcp: Missing chunk from "Add IPv6 support"

PATCH In review Peter Krystad 2 participants 2 messages Nov 8, 2019 – Nov 13, 2019

Subsystems (2)
lore
Share & tools
lore

Peter Krystad

author
#0 lore raw

PATCH 1/1 mptcp: Missing chunk from "Add IPv6 support"

This chunk appears to have been dropped from the IPv6 commit.

squashto: Add IPv6 support

Signed-off-by Peter Krystad <peter.krystad(a)linux.intel.com>
---
 net/mptcp/protocol.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
net/mptcp/protocol.c +1 -4
index 7bea6b62f66e..1a432abfb176 100644
@@ -1099,10 +1099,7 @@ static int mptcp_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len)
 {
 	struct mptcp_sock *msk = mptcp_sk(sock->sk);
 	struct socket *ssock;
-	int err = -ENOTSUPP;
-
-	if (uaddr->sa_family != AF_INET) // @@ allow only IPv4 for now
-		return err;
+	int err;
 
 	ssock = mptcp_socket_create_get(msk);
 	if (IS_ERR(ssock))
Signature · 1 line
2.17.2
#1 lore raw

Hi Peter,

Quoted 3 lines · Peter Krystad

This chunk appears to have been dropped from the IPv6 commit.

squashto: Add IPv6 support

Sorry for the delay, I was off for a few days.

Thank you for the patch, good catch! I checked all applied patches... except the one I added in the series instead of squashing it in other patches :)

- f72ac7b550c2: "squashed" in "mptcp: Add IPv6 support"
- 3b751e51cfb1..ca62776f7f0d: result

Cheers,
Matt

Signature · 5 lines
Matthieu Baerts | R&D Engineer
matthieu.baerts(a)tessares.net
Tessares SA | Hybrid Access Solutions
www.tessares.net
1 Avenue Jean Monnet, 1348 Louvain-la-Neuve, Belgium