diff options
author | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2006-12-09 23:59:14 -0200 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-11 14:34:39 -0800 |
commit | 45393a66a2c30fc8ed86e6c79a63a3cd5231c69f (patch) | |
tree | 628feedd3d6d1fbdb1728d57e4bb62e1fc61e5c4 /kernel/sys.c | |
parent | 5fce9a2da8a3b4ed088d9c0ac7c938a638044fdb (diff) |
[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 <gerrit@erg.abdn.ac.uk>
Acked-by: Ian McDonald <ian.mcdonald@jandi.co.nz>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Diffstat (limited to 'kernel/sys.c')
0 files changed, 0 insertions, 0 deletions