diff options
author | Ermal Luçi <eri@FreeBSD.org> | 2015-07-30 20:56:27 +0000 |
---|---|---|
committer | Ermal Luçi <eri@FreeBSD.org> | 2015-07-30 20:56:27 +0000 |
commit | 59959de526d5f0a9490e5e2c8a7dece961d8db7b (patch) | |
tree | 6e4b1a2a551af52be6adcc7822f602855d7951fc /sys/netipsec/ipsec_output.c | |
parent | 4ae1e3c75294c5442c4e94430ec4ff8b7f3a930c (diff) |
Notes
Diffstat (limited to 'sys/netipsec/ipsec_output.c')
-rw-r--r-- | sys/netipsec/ipsec_output.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netipsec/ipsec_output.c b/sys/netipsec/ipsec_output.c index ae360700b629..a6611a7e7fcb 100644 --- a/sys/netipsec/ipsec_output.c +++ b/sys/netipsec/ipsec_output.c @@ -158,6 +158,8 @@ ipsec_process_done(struct mbuf *m, struct ipsecrequest *isr) tdbi->spi = sav->spi; m_tag_prepend(m, mtag); + key_sa_recordxfer(sav, m); /* record data transfer */ + /* * If there's another (bundled) SA to apply, do so. * Note that this puts a burden on the kernel stack size. @@ -202,7 +204,6 @@ ipsec_process_done(struct mbuf *m, struct ipsecrequest *isr) goto bad; } } - key_sa_recordxfer(sav, m); /* record data transfer */ /* * We're done with IPsec processing, transmit the packet using the |