From: Gerrit Renker Date: Sat, 24 Nov 2007 23:32:53 +0000 (-0200) Subject: [CCID2]: Don't assign negative values to Ack Ratio X-Git-Tag: v2.6.25-rc1~1162^2~1352 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df054e1d00fdafa2e2920319df326ddb3f0d0413;p=pandora-kernel.git [CCID2]: Don't assign negative values to Ack Ratio Since it makes not sense to assign negative values to Ack Ratio, this patch disallows this possibility. As a consequence, a Bug test for negative Ack Ratio values becomes obsolete. Furthermore, a check against overflow (as Ack Ratio may not exceed 2 bytes, due to RFC 4340, 11.3) has been added. Signed-off-by: Gerrit Renker Acked-by: Ian McDonald Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller --- Reading git-diff-tree failed