From: Samuel Jero Date: Thu, 30 Dec 2010 11:15:16 +0000 (+0100) Subject: dccp: fix return value for sequence-invalid packets X-Git-Tag: v2.6.38-rc1~403^2~49^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2cf5be93d1b704f342ad423a49f0e78d73939e66;p=pandora-kernel.git 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 Acked-by: Gerrit Renker --- Reading git-diff-tree failed