From: Wei Yongjun Date: Thu, 31 Mar 2011 23:38:54 +0000 (+0000) Subject: sctp: fix auth_hmacs field's length of struct sctp_cookie X-Git-Tag: v2.6.39-rc2~7^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=028dba0ac3fc3c82da06110b011fce22a5ffad00;p=pandora-kernel.git sctp: fix auth_hmacs field's length of struct sctp_cookie auth_hmacs field of struct sctp_cookie is used for store Requested HMAC Algorithm Parameter, and each HMAC Identifier is 2 bytes, so the length should be: SCTP_AUTH_NUM_HMACS * sizeof(__u16) + 2 Signed-off-by: Wei Yongjun Signed-off-by: David S. Miller --- Reading git-diff-tree failed