[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>
This commit is contained in:
Herbert Xu
2007-11-19 18:50:17 -08:00
committed by David S. Miller
parent 60d5fcfb19
commit 1bf06cd2e3
4 changed files with 40 additions and 5 deletions

View File

@@ -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
}