diff options
| author | Gerrit Renker <[email protected]> | 2007-11-20 18:00:39 -0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2008-01-28 14:54:42 -0800 |
| commit | eb279b79c46be767ecffadaa8ed6be3e3555e93d (patch) | |
| tree | f7695df96e2d129beb65263617ac7ed533e1689a /include/linux | |
| parent | 6c08b2cf4843788e66a5e69b5512538e686ae3e3 (diff) | |
[CCID3]: Ignore trivial amounts of elapsed time
This patch fixes a previously undiscovered bug; the problem is in computing
the elapsed time as the time between `receiving' the packet (i.e. skb enters
CCID module) and sending feedback:
- there is no layer-processing, queueing, or delay involved,
- hence the elapsed time is in the order of 1 function call
- this is in the dimension of maximally 50..100usec
- which renders the use of elapsed time almost entirely useless.
The fix is simply to ignore such trivial amounts of elapsed time.
As a further advantage, the now useless elapsed_time field can be removed from
the socket, which reduces the socket structure by another four bytes.
Signed-off-by: Gerrit Renker <[email protected]>
Signed-off-by: Ian McDonald <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions