Content-Type: multipart/mixed; boundary="===============1457712170990769019==" MIME-Version: 1.0 From: Peter Krystad To: mptcp at lists.01.org Subject: [MPTCP] [PATCH 2/2] mptcp: Modify pm_create_subflow to use in_addr in network byte order Date: Fri, 23 Aug 2019 18:56:33 -0700 Message-ID: <20190824015633.3070-2-peter.krystad@linux.intel.com> In-Reply-To: 20190824015633.3070-1-peter.krystad@linux.intel.com X-Status: X-Keywords: X-UID: 1696 --===============1457712170990769019== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable squashto: Implement path manager interface commands Signed-off-by: Peter Krystad --- net/mptcp/pm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/mptcp/pm.c b/net/mptcp/pm.c index c98b92512adf..bc07376a823b 100644 --- a/net/mptcp/pm.c +++ b/net/mptcp/pm.c @@ -73,7 +73,7 @@ int pm_create_subflow(u32 token, u8 remote_id) = remote.sin_family =3D msk->pm.remote_family; remote.sin_port =3D htons(msk->dport); - remote.sin_addr.s_addr =3D htonl(msk->pm.remote_addr.s_addr); + remote.sin_addr.s_addr =3D msk->pm.remote_addr.s_addr; = err =3D subflow_connect((struct sock *)msk, &local, &remote, remote_id); = -- = 2.17.2 --===============1457712170990769019==--