[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:
committed by
David S. Miller
parent
60d5fcfb19
commit
1bf06cd2e3
@@ -59,6 +59,9 @@ int xfrm4_transport_finish(struct sk_buff *skb, int async)
|
||||
xfrm4_rcv_encap_finish);
|
||||
return 0;
|
||||
#else
|
||||
if (async)
|
||||
return xfrm4_rcv_encap_finish(skb);
|
||||
|
||||
return -iph->protocol;
|
||||
#endif
|
||||
}
|
||||
|
Reference in New Issue
Block a user