diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2007-11-20 03:50:17 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 23:53:54 +0100 |
commit | 1bf06cd2e338fd6fc29169d30eaf0df982338285 (patch) | |
tree | 351bf1c8e5063fdfb8c820470972169d398729fe /net/ipv6 | |
parent | [IPSEC]: Remove nhoff from xfrm_input (diff) | |
download | linux-1bf06cd2e338fd6fc29169d30eaf0df982338285.tar.xz linux-1bf06cd2e338fd6fc29169d30eaf0df982338285.zip |
[IPSEC]: Add async resume support on input
This patch adds support for async resumptions on input. To do so, the
transform would return -EINPROGRESS and subsequently invoke the
function xfrm_input_resume to resume processing.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/xfrm6_input.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/ipv6/xfrm6_input.c b/net/ipv6/xfrm6_input.c index 5c006c845943..e317d0855468 100644 --- a/net/ipv6/xfrm6_input.c +++ b/net/ipv6/xfrm6_input.c @@ -41,6 +41,9 @@ int xfrm6_transport_finish(struct sk_buff *skb, int async) ip6_rcv_finish); return -1; #else + if (async) + return ip6_rcv_finish(skb); + return 1; #endif } |