diff mbox series

mptcp: Missing chunk from "Add IPv6 support"

Message ID 20191108173012.13597-1-peter.krystad@linux.intel.com
State Accepted, archived
Delegated to: Matthieu Baerts
Headers show
Series mptcp: Missing chunk from "Add IPv6 support" | expand

Commit Message

Peter Krystad Nov. 8, 2019, 5:30 p.m. UTC
This chunk appears to have been dropped from the IPv6 commit.

squashto: Add IPv6 support

Signed-off-by: Peter Krystad <peter.krystad@linux.intel.com>
---
 net/mptcp/protocol.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

Comments

Matthieu Baerts Nov. 13, 2019, 3:17 p.m. UTC | #1
Hi Peter,

On 08/11/2019 18:30, Peter Krystad wrote:
> 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
diff mbox series

Patch

diff --git a/net/mptcp/protocol.c b/net/mptcp/protocol.c
index 7bea6b62f66e..1a432abfb176 100644
--- a/net/mptcp/protocol.c
+++ b/net/mptcp/protocol.c
@@ -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))