Subject: Re: [PATCH 2/2] sctp: malloc enough room for asconf-ack chunk

From: David Miller <[email-masked]>
Date: Fri, 01 Apr 2011 21:46:10 -0700 (PDT)

From: Wei Yongjun <[email-masked]>
Date: Fri, 01 Apr 2011 17:42:55 +0800

> Sometime the ASCONF_ACK parameters can equal to the fourfold of
> ASCONF parameters, this only happend in some special case:
> 
>   ASCONF parameter is :
>     Unrecognized Parameter (4 bytes)
>   ASCONF_ACK parameter should be:
>     Error Cause Indication parameter (8 bytes header)
>      + Error Cause (4 bytes header)
>        + Unrecognized Parameter (4bytes)
> 
> Four 4bytes Unrecognized Parameters in ASCONF chunk will cause panic.
 ...
> Signed-off-by: Wei Yongjun <[email-masked]>

Applied.