aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/dccp.h
diff options
context:
space:
mode:
authorSamuel Jero <sj323707@ohio.edu>2010-12-30 12:15:16 +0100
committerGerrit Renker <gerrit@erg.abdn.ac.uk>2011-01-07 12:22:43 +0100
commit2cf5be93d1b704f342ad423a49f0e78d73939e66 (patch)
tree5d0e0435c71e775134d0e2374c97db78a46d3198 /net/dccp/dccp.h
parent4e3dbdb1392a83bd21a6ff8f6bc785495058d37c (diff)
downloadkernel_samsung_smdk4412-2cf5be93d1b704f342ad423a49f0e78d73939e66.zip
kernel_samsung_smdk4412-2cf5be93d1b704f342ad423a49f0e78d73939e66.tar.gz
kernel_samsung_smdk4412-2cf5be93d1b704f342ad423a49f0e78d73939e66.tar.bz2
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 'net/dccp/dccp.h')
0 files changed, 0 insertions, 0 deletions