]> err.no Git - linux-2.6/commit
SCTP : Fix to process bundled ASCONF chunk correctly
authorWei Yongjun <yjwei@cn.fujitsu.com>
Mon, 15 Oct 2007 02:51:03 +0000 (11:51 +0900)
committerVlad Yasevich <vladislav.yasevich@hp.com>
Wed, 7 Nov 2007 16:39:27 +0000 (11:39 -0500)
commitf3830ccc2ea503ab37d605f6c313d61423ddd94e
treef14ff66f7ebb1fc83ea137e587d623c905fcd7a3
parent64b0812b6d26bb30cac74c65f51f4ebfb4ec5429
SCTP : Fix to process bundled ASCONF chunk correctly

If ASCONF chunk is bundled with other chunks as the first chunk, when
process the ASCONF parameters, full packet data will be process as the
parameters of the ASCONF chunk, not only the real parameters. So if you
send a ASCONF chunk bundled with other chunks, you will get an unexpect
result.
This problem also exists when ASCONF-ACK chunk is bundled with other chunks.

This patch fix this problem.

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