diff options
author | Jamal Hadi Salim <hadi@cyberus.ca> | 2006-03-20 22:15:29 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-03-20 22:15:29 -0500 |
commit | 9500e8a81fe6302fcc5e4110adc4d166c9873d3a (patch) | |
tree | 9b26d81e2d69869d2a01c4b33f568ab6cf1e0378 /net/ipv6/esp6.c | |
parent | f8cd54884e675dfaf0c86cc7c088adb6ca9d7638 (diff) |
[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/ipv6/esp6.c')
-rw-r--r-- | net/ipv6/esp6.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv6/esp6.c b/net/ipv6/esp6.c index 7b5b94f13902..aa7f100dab35 100644 --- a/net/ipv6/esp6.c +++ b/net/ipv6/esp6.c | |||
@@ -94,6 +94,7 @@ static int esp6_output(struct xfrm_state *x, struct sk_buff *skb) | |||
94 | 94 | ||
95 | esph->spi = x->id.spi; | 95 | esph->spi = x->id.spi; |
96 | esph->seq_no = htonl(++x->replay.oseq); | 96 | esph->seq_no = htonl(++x->replay.oseq); |
97 | xfrm_aevent_doreplay(x); | ||
97 | 98 | ||
98 | if (esp->conf.ivlen) | 99 | if (esp->conf.ivlen) |
99 | crypto_cipher_set_iv(tfm, esp->conf.ivec, crypto_tfm_alg_ivsize(tfm)); | 100 | crypto_cipher_set_iv(tfm, esp->conf.ivec, crypto_tfm_alg_ivsize(tfm)); |