From: Wei Yongjun Date: Mon, 6 Aug 2007 05:55:47 +0000 (+0800) Subject: SCTP: Fix sctp_addto_chunk() to add pad with correct length X-Git-Tag: v2.6.23-rc5~37^2~5^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d614ade511fef11f992d6a73e538d33b3b81f12;p=pandora-kernel.git 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 Signed-off-by: Vlad Yasevich --- Reading git-diff-tree failed