commit | fa6dd8a2c89861d05621ce7e2880e485bec22fba | [log] [tgz] |
---|---|---|
author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | Tue Jan 11 08:04:12 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Jan 11 14:03:09 2011 -0800 |
tree | 8636aee24a084dc6b530cc8c0e06c283429d037e | |
parent | f76957fc8fc4fa9735f01e59653b2792b077de06 [diff] |
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 <nicolas.dichtel@6wind.com> Signed-off-by: David S. Miller <davem@davemloft.net>