[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-sctp
Subject: Re: [PATCH net] sctp: alloc stream info when initializing asoc
From: David Miller <davem () davemloft ! net>
Date: 2017-03-30 18:08:56
Message-ID: 20170330.110856.2114381422765103895.davem () davemloft ! net
[Download RAW message or body]
From: Xin Long <lucien.xin@gmail.com>
Date: Thu, 30 Mar 2017 01:00:53 +0800
> When sending a msg without asoc established, sctp will send INIT packet
> first and then enqueue chunks.
>
> Before receiving INIT_ACK, stream info is not yet alloced. But enqueuing
> chunks needs to access stream info, like out stream state and out stream
> cnt.
>
> This patch is to fix it by allocing out stream info when initializing an
> asoc, allocing in stream and re-allocing out stream when processing init.
>
> Signed-off-by: Xin Long <lucien.xin@gmail.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-sctp" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic