aboutsummaryrefslogtreecommitdiff
path: root/sound/isa/als100.c
diff options
context:
space:
mode:
authorGerrit Renker2006-12-10 00:06:32 -0200
committerDavid S. Miller2006-12-11 14:34:51 -0800
commitde553c189e3faa0d0c38f366f73379b46587b80e (patch)
tree0fbc7bd2c042518383ee07287812453176ae8b0d /sound/isa/als100.c
parentfe0499ae95f5f636bda1f6e0bdba5b7b023ea827 (diff)
[DCCP] ccid3: Sanity-check RTT samples
CCID3 performance depends much on the accuracy of RTT samples. If RTT samples grow too large, performance can be catastrophically poor. To limit the amount of possible damage in such cases, the patch * introduces an upper limit which identifies a maximum `sane' RTT value; * uses a macro to enforce this upper limit. Using a macro was given preference, since it is necessary to identify the calling function in the warning message. Since exceeding this threshold identifies a critical condition, DCCP_CRIT is used and not DCCP_WARN. Many thanks to Ian McDonald for collaboration on this issue. 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 'sound/isa/als100.c')
0 files changed, 0 insertions, 0 deletions