diff options
| author | 2008-09-04 07:30:19 +0200 | |
|---|---|---|
| committer | 2008-09-04 07:45:39 +0200 | |
| commit | 20bbd0f75ee4b72c1dafc8e5fb6ad39ba506a75c (patch) | |
| tree | c67263fcc9ed4bab01ecbdb43393b1cb2a0dfd36 /net/ipv4/tcp_input.c | |
| parent | dccp ccid-2: Replace broken RTT estimator with better algorithm (diff) | |
| download | linux-dev-20bbd0f75ee4b72c1dafc8e5fb6ad39ba506a75c.tar.xz linux-dev-20bbd0f75ee4b72c1dafc8e5fb6ad39ba506a75c.zip | |
dccp ccid-2: Remove wrappers around sk_{reset,stop}_timer()
This removes the wrappers around the sk timer functions as it makes the code
clearer and not much is gained from using wrappers: the BUG_ON in
start_rto_timer will never trigger since that function was called only when
* the RTO timer expired (rto_expire, and then timer_pending() is false);
* in tx_packet_sent only if !timer_pending() (BUG_ON is redundant here);
* previously in new_ack, after stopping the timer (timer_pending() false).
One further motive behind this patch is to replace the RTO timer with the
icsk retransmission timer, as it is already part of the DCCP socket.
Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions
