diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/xfrm/xfrm_output.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/xfrm/xfrm_output.c b/net/xfrm/xfrm_output.c index 3476a27..73e1128 100644 --- a/net/xfrm/xfrm_output.c +++ b/net/xfrm/xfrm_output.c @@ -55,6 +55,9 @@ static int xfrm_output_one(struct sk_buff *skb, int err) } #ifdef CONFIG_AS_FASTPATH + if (!x->asf_sa_cookie && asf_cb_fns.ipsec_enc_hook) + asf_cb_fns.ipsec_enc_hook(NULL, x, NULL, skb->skb_iif); + if (x->asf_sa_cookie && asf_cb_fns.ipsec_encrypt_n_send) { err = -EINPROGRESS; if (!asf_cb_fns.ipsec_encrypt_n_send(skb, x)) |