From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net] sctp: fix the data size calculation in sctp_data_size Date: Wed, 17 Oct 2018 22:33:01 -0700 (PDT) Message-ID: <20181017.223301.1736365428024550667.davem@davemloft.net> References: Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, linux-sctp@vger.kernel.org, marcelo.leitner@gmail.com, nhorman@tuxdriver.com To: lucien.xin@gmail.com Return-path: Received: from shards.monkeyblade.net ([23.128.96.9]:55108 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727328AbeJRNcQ (ORCPT ); Thu, 18 Oct 2018 09:32:16 -0400 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: From: Xin Long Date: Wed, 17 Oct 2018 21:11:27 +0800 > sctp data size should be calculated by subtracting data chunk header's > length from chunk_hdr->length, not just data header. > > Fixes: 668c9beb9020 ("sctp: implement assign_number for sctp_stream_interleave") > Signed-off-by: Xin Long Applied and queued up for -stable. From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Date: Thu, 18 Oct 2018 05:33:01 +0000 Subject: Re: [PATCH net] sctp: fix the data size calculation in sctp_data_size Message-Id: <20181017.223301.1736365428024550667.davem@davemloft.net> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lucien.xin@gmail.com Cc: netdev@vger.kernel.org, linux-sctp@vger.kernel.org, marcelo.leitner@gmail.com, nhorman@tuxdriver.com From: Xin Long Date: Wed, 17 Oct 2018 21:11:27 +0800 > sctp data size should be calculated by subtracting data chunk header's > length from chunk_hdr->length, not just data header. > > Fixes: 668c9beb9020 ("sctp: implement assign_number for sctp_stream_interleave") > Signed-off-by: Xin Long Applied and queued up for -stable.