From: Nicolas Dichtel Date: Tue, 11 Jan 2011 08:04:12 +0000 (+0000) Subject: xfrm: check trunc_len in XFRMA_ALG_AUTH_TRUNC X-Git-Tag: v2.6.38-rc1~403^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa6dd8a2c89861d05621ce7e2880e485bec22fba;p=pandora-kernel.git xfrm: check trunc_len in XFRMA_ALG_AUTH_TRUNC Maximum trunc length is defined by MAX_AH_AUTH_LEN (in bytes) and need to be checked when this value is set (in bits) by the user. In ah4.c and ah6.c a BUG_ON() checks this condiftion. Signed-off-by: Nicolas Dichtel Signed-off-by: David S. Miller --- Reading git-diff-tree failed