Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147795506
D22368.1784393243.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
572 B
Referenced Files
None
Subscribers
None
D22368.1784393243.diff
View Options
Index: sys/netipsec/xform_ah.c
===================================================================
--- sys/netipsec/xform_ah.c
+++ sys/netipsec/xform_ah.c
@@ -926,7 +926,9 @@
/* Insert packet replay counter, as requested. */
SECASVAR_LOCK(sav);
if (sav->replay) {
- if (sav->replay->count == ~0 &&
+ if ((sav->replay->count == ~0 ||
+ (!(sav->flags & SADB_X_SAFLAGS_ESN) &&
+ ((uint32_t)sav->replay->count) == ~0)) &&
(sav->flags & SADB_X_EXT_CYCSEQ) == 0) {
SECASVAR_UNLOCK(sav);
DPRINTF(("%s: replay counter wrapped for SA %s/%08lx\n",
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jul 18, 4:47 PM (5 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29186137
Default Alt Text
D22368.1784393243.diff (572 B)
Attached To
Mode
D22368: Improve sequence number overflow detection in AH protocol
Attached
Detach File
Event Timeline
Log In to Comment