From: Gerrit Renker Date: Sun, 10 Dec 2006 01:59:14 +0000 (-0200) Subject: [DCCP] ccid3: Check against too large p X-Git-Tag: v2.6.20-rc1~146^2~12^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45393a66a2c30fc8ed86e6c79a63a3cd5231c69f;p=pandora-kernel.git [DCCP] ccid3: Check against too large p This patch follows a suggestion by Ian McDonald and ensures that in the current code the value of p can not exceed 100%. Such a value is illegal and would consequently cause a bug condition in tfrc_calc_x(). The receiver case is also tested, and a warning message is added. Signed-off-by: Gerrit Renker Acked-by: Ian McDonald Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed