commit | 8d614ade511fef11f992d6a73e538d33b3b81f12 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yjwei@cn.fujitsu.com> | Mon Aug 06 13:55:47 2007 +0800 |
committer | Vlad Yasevich <vladislav.yasevich@hp.com> | Thu Aug 30 11:56:17 2007 -0400 |
tree | d003f0eaeae83af128991a9d3d5e0da76df5eda0 | |
parent | ab3e5e7b65dde661f5eb86b445496c5967283333 [diff] |
SCTP: Fix sctp_addto_chunk() to add pad with correct length At function sctp_addto_chunk(), it do pad before add payload to chunk if chunk length is not 4-byte alignment. But it do pad with a bad length. This patch fixed this probleam. Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com> Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>