summaryrefslogtreecommitdiffstats
path: root/drivers/ps3
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2007-11-13 21:44:55 -0800
committerDavid S. Miller <davem@davemloft.net>2008-01-28 14:53:50 -0800
commitb2aa5e9d43a38dcdfa0878ed750cf32f98460278 (patch)
treee00544bd1aa0ab6e2ccb0696e1a89cd4900130e9 /drivers/ps3
parent716062fd4c2f88a33ab409f62a1e7397ad0a7e33 (diff)
downloadop-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 'drivers/ps3')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud