diff options
author | Steffen Klassert <steffen.klassert@secunet.com> | 2011-09-21 01:38:58 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-09-21 21:20:57 +0200 |
commit | bcf66bf54aabffc150acd1c99e0f4bc51935eada (patch) | |
tree | 7373ca2db919a39ea8f2e11416c881121ade0930 /net/irda/irproc.c | |
parent | fib:fix BUG_ON in fib_nl_newrule when add new fib rule (diff) | |
download | linux-bcf66bf54aabffc150acd1c99e0f4bc51935eada.tar.xz linux-bcf66bf54aabffc150acd1c99e0f4bc51935eada.zip |
xfrm: Perform a replay check after return from async codepaths
When asyncronous crypto algorithms are used, there might be many
packets that passed the xfrm replay check, but the replay advance
function is not called yet for these packets. So the replay check
function would accept a replay of all of these packets. Also the
system might crash if there are more packets in async processing
than the size of the anti replay window, because the replay advance
function would try to update the replay window beyond the bounds.
This pach adds a second replay check after resuming from the async
processing to fix these issues.
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/irda/irproc.c')
0 files changed, 0 insertions, 0 deletions