Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 2cf5be93 authored by Samuel Jero's avatar Samuel Jero Committed by Gerrit Renker
Browse files

dccp: fix return value for sequence-invalid packets



Currently dccp_check_seqno returns 0 (indicating a valid packet) if the
acknowledgment number is out of bounds and the sync that RFC 4340 mandates at
this point is currently being rate-limited. This function should return -1,
indicating an invalid packet.

Signed-off-by: default avatarSamuel Jero <sj323707@ohio.edu>
Acked-by: default avatarGerrit Renker <gerrit@erg.abdn.ac.uk>
parent 4e3dbdb1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment