[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170330.110856.2114381422765103895.davem@davemloft.net>
Date: Thu, 30 Mar 2017 11:08:56 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: lucien.xin@...il.com
Cc: netdev@...r.kernel.org, linux-sctp@...r.kernel.org,
marcelo.leitner@...il.com, nhorman@...driver.com
Subject: Re: [PATCH net] sctp: alloc stream info when initializing asoc
From: Xin Long <lucien.xin@...il.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@...il.com>
Applied, thanks.
Powered by blists - more mailing lists