diff options
author | Samuel Jero <sj323707@ohio.edu> | 2010-12-30 12:15:16 +0100 |
---|---|---|
committer | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2011-01-07 12:22:43 +0100 |
commit | 2cf5be93d1b704f342ad423a49f0e78d73939e66 (patch) | |
tree | 5d0e0435c71e775134d0e2374c97db78a46d3198 /samples | |
parent | 4e3dbdb1392a83bd21a6ff8f6bc785495058d37c (diff) |
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: Samuel Jero <sj323707@ohio.edu>
Acked-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions