commit | 2cf5be93d1b704f342ad423a49f0e78d73939e66 | [log] [tgz] |
---|---|---|
author | Samuel Jero <sj323707@ohio.edu> | Thu Dec 30 12:15:16 2010 +0100 |
committer | Gerrit Renker <gerrit@erg.abdn.ac.uk> | Fri Jan 07 12:22:43 2011 +0100 |
tree | 5d0e0435c71e775134d0e2374c97db78a46d3198 | |
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>