Skip to content

Commit

Permalink
Fix broken window replay check that will allow old packet to be accep…
Browse files Browse the repository at this point in the history
…ted.

This was introduced in r309144.

Submitted by:	Jean-Francois HREN <jean-francois.hren@stormshield.eu>
Approved by:	ae@
MFC after:	3 days
  • Loading branch information
fabient authored and fabient committed Sep 6, 2019
1 parent 0bfa32c commit c4d20bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sys/netipsec/ipsec.c
Original file line number Diff line number Diff line change
Expand Up @@ -1323,6 +1323,8 @@ ipsec_updatereplay(uint32_t seq, struct secasvar *sav)
__func__, replay->overflow,
ipsec_sa2str(sav, buf, sizeof(buf))));
}

replay->count++;
return (0);
}

Expand Down

0 comments on commit c4d20bf

Please sign in to comment.