diff options
author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | 2011-01-11 08:04:12 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-01-11 14:03:09 -0800 |
commit | fa6dd8a2c89861d05621ce7e2880e485bec22fba (patch) | |
tree | 8636aee24a084dc6b530cc8c0e06c283429d037e /include/net/ah.h | |
parent | f76957fc8fc4fa9735f01e59653b2792b077de06 (diff) | |
download | linux-fa6dd8a2c89861d05621ce7e2880e485bec22fba.tar.gz linux-fa6dd8a2c89861d05621ce7e2880e485bec22fba.tar.bz2 linux-fa6dd8a2c89861d05621ce7e2880e485bec22fba.zip |
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>
Diffstat (limited to 'include/net/ah.h')
0 files changed, 0 insertions, 0 deletions