Re: [PATCH 2/2] sctp: fix kernel panic with ERROR chunk containing too many error causes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Vlad Yasevich <vladislav.yasevich@xxxxxx>
Date: Mon,  2 Mar 2009 11:46:51 -0500

> From: Wei Yongjun <yjwei@xxxxxxxxxxxxxx>
> 
> If ERROR chunk is received with too many error causes in ESTABLISHED
> state, the kernel get panic.
> 
> This is because sctp limit the max length of cmds to 14, but while
> ERROR chunk is received, one error cause will add around 2 cmds by
> sctp_add_cmd_sf(). So many error causes will fill the limit of cmds
> and panic.
> 
> This patch fixed the problem.
> 
> This bug can be test by SCTP Conformance Test Suite
> <http://networktest.sourceforge.net/>.
> 
> Signed-off-by: Wei Yongjun <yjwei@xxxxxxxxxxxxxx>
> Signed-off-by: Vlad Yasevich <vladislav.yasevich@xxxxxx>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-sctp" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Networking Development]     [Linux OMAP]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux