From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============0026763068283336992==" MIME-Version: 1.0 From: Peter Krystad To: mptcp at lists.01.org Subject: [MPTCP] [PATCH v3 03/10] Fix parsing MP_JOIN third ACK. Date: Wed, 07 Aug 2019 15:44:27 -0700 Message-ID: <20190807224434.2829-4-peter.krystad@linux.intel.com> In-Reply-To: 20190807224434.2829-1-peter.krystad@linux.intel.com X-Status: X-Keywords: X-UID: 1591 --===============0026763068283336992== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable There is a reserved byte of zero's in there. squashto: Add handling of incoming MP_JOIN requests Signed-off-by: Peter Krystad --- net/mptcp/options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/mptcp/options.c b/net/mptcp/options.c index ab3fce071c17..a1920574161d 100644 --- a/net/mptcp/options.c +++ b/net/mptcp/options.c @@ -92,7 +92,7 @@ void mptcp_parse_option(const unsigned char *ptr, int ops= ize, mp_opt->backup, mp_opt->join_id, mp_opt->thmac, mp_opt->nonce); } else if (opsize =3D=3D TCPOLEN_MPTCP_MPJ_ACK) { - ptr++; + ptr +=3D 2; memcpy(mp_opt->hmac, ptr, MPTCPOPT_HMAC_LEN); pr_debug("MP_JOIN hmac"); } else { -- = 2.17.2 --===============0026763068283336992==--