git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net/octeontx: support fast mbuf free
[dpdk.git]
/
lib
/
librte_ipsec
/
ipsec_sqn.h
diff --git
a/lib/librte_ipsec/ipsec_sqn.h
b/lib/librte_ipsec/ipsec_sqn.h
index
4ba079d
..
0c2f76a
100644
(file)
--- a/
lib/librte_ipsec/ipsec_sqn.h
+++ b/
lib/librte_ipsec/ipsec_sqn.h
@@
-152,10
+152,6
@@
esn_inb_update_sqn(struct replay_sqn *rsn, const struct rte_ipsec_sa *sa,
{
uint32_t bit, bucket, last_bucket, new_bucket, diff, i;
- /* replay not enabled */
- if (sa->replay.win_sz == 0)
- return 0;
-
/* handle ESN */
if (IS_ESN(sa))
sqn = reconstruct_esn(rsn->sqn, sqn, sa->replay.win_sz);