Re: [PATCH net] sctp: fix the data size calculation in sctp_data_size

2018-10-17 Thread David Miller
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

Re: [PATCH net] sctp: fix the data size calculation in sctp_data_size

2018-10-17 Thread Marcelo Ricardo Leitner
On Wed, Oct 17, 2018 at 09:11:27PM +0800, Xin Long wrote: > 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 Lon

[PATCH net] sctp: fix the data size calculation in sctp_data_size

2018-10-17 Thread Xin Long
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 --- include/net/sctp/sm.h | 2 +- 1 file changed, 1 insertion(+), 1