diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2007-11-13 21:44:55 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 14:53:50 -0800 |
commit | b2aa5e9d43a38dcdfa0878ed750cf32f98460278 (patch) | |
tree | e00544bd1aa0ab6e2ccb0696e1a89cd4900130e9 /net/ipv4/ah4.c | |
parent | 716062fd4c2f88a33ab409f62a1e7397ad0a7e33 (diff) | |
download | op-kernel-dev-b2aa5e9d43a38dcdfa0878ed750cf32f98460278.zip op-kernel-dev-b2aa5e9d43a38dcdfa0878ed750cf32f98460278.tar.gz |
[IPSEC]: Store xfrm states in security path directly
As it is xfrm_input first collects a list of xfrm states on the stack
before storing them in the packet's security path just before it
returns. For async crypto, this construction presents an obstacle
since we may need to leave the loop after each transform.
In fact, it's much easier to just skip the stack completely and always
store to the security path. This is proven by the fact that this
patch actually shrinks the code.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ah4.c')
0 files changed, 0 insertions, 0 deletions