]> git.baikalelectronics.ru Git - kernel.git/commit
SCTP: Fix to handle invalid parameter length correctly
authorWei Yongjun <yjwei@cn.fujitsu.com>
Mon, 6 Aug 2007 05:55:58 +0000 (13:55 +0800)
committerVlad Yasevich <vladislav.yasevich@hp.com>
Thu, 30 Aug 2007 20:44:27 +0000 (16:44 -0400)
commit0be596948739e242953345d8665037e3c96ac62a
tree5f15c06b52e98964070e56aaa6f8997ebf5f47ed
parent3c09d86c032c86975a9dff9164fdeb4c77dffb98
SCTP: Fix to handle invalid parameter length correctly

If an INIT with invalid parameter length look like this:
Parameter Type : 1
Parameter Length: 800
and not contain any payload, SCTP will ignore this  parameter and send
back a INIT-ACK.
This patch is fix to handle this invalid parameter length correctly.

Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
net/sctp/sm_make_chunk.c