summaryrefslogtreecommitdiffstats
path: root/net/ipv4/esp4.c
diff options
context:
space:
mode:
authorJamal Hadi Salim <hadi@cyberus.ca>2006-03-21 04:15:29 +0100
committerDavid S. Miller <davem@davemloft.net>2006-03-21 04:15:29 +0100
commit9500e8a81fe6302fcc5e4110adc4d166c9873d3a (patch)
tree9b26d81e2d69869d2a01c4b33f568ab6cf1e0378 /net/ipv4/esp4.c
parent[IPSEC]: Sync series - core changes (diff)
downloadlinux-9500e8a81fe6302fcc5e4110adc4d166c9873d3a.tar.xz
linux-9500e8a81fe6302fcc5e4110adc4d166c9873d3a.zip
[IPSEC]: Sync series - fast path
Fast path sequence updates that will generate ipsec async events Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/esp4.c')
-rw-r--r--net/ipv4/esp4.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/esp4.c b/net/ipv4/esp4.c
index 09590f356086..bf88c620a954 100644
--- a/net/ipv4/esp4.c
+++ b/net/ipv4/esp4.c
@@ -90,6 +90,7 @@ static int esp_output(struct xfrm_state *x, struct sk_buff *skb)
esph->spi = x->id.spi;
esph->seq_no = htonl(++x->replay.oseq);
+ xfrm_aevent_doreplay(x);
if (esp->conf.ivlen)
crypto_cipher_set_iv(tfm, esp->conf.ivec, crypto_tfm_alg_ivsize(tfm));