From: Wei Yongjun Date: Sun, 13 Apr 2008 01:39:19 +0000 (-0700) Subject: [SCTP]: Add check for hmac_algo parameter in sctp_verify_param() X-Git-Tag: v2.6.25~33^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72da7b3860cabf427590b4982bc880bafab4d5c8;p=pandora-kernel.git [SCTP]: Add check for hmac_algo parameter in sctp_verify_param() RFC 4890 has the following text: The HMAC algorithm based on SHA-1 MUST be supported and included in the HMAC-ALGO parameter. As a result, we need to check in sctp_verify_param() that HMAC_SHA1 is present in the list. If not, we should probably treat this as a protocol violation. It should also be a protocol violation if the HMAC parameter is empty. Signed-off-by: Wei Yongjun Signed-off-by: Vlad Yasevich Signed-off-by: David S. Miller --- Reading git-diff-tree failed