diff options
author | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2010-08-29 19:23:11 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-30 13:45:26 -0700 |
commit | d26eeb07fd02de31848b59d19687daff0e93532f (patch) | |
tree | 8017b04b5e2aacb9d73334b4610d623c28a957d5 /include/net/tcp.h | |
parent | d82b6f85c1d73340ef4a26bd0b247ac14610cd83 (diff) | |
download | kernel_samsung_smdk4412-d26eeb07fd02de31848b59d19687daff0e93532f.zip kernel_samsung_smdk4412-d26eeb07fd02de31848b59d19687daff0e93532f.tar.gz kernel_samsung_smdk4412-d26eeb07fd02de31848b59d19687daff0e93532f.tar.bz2 |
dccp ccid-2: Remove wrappers around sk_{reset,stop}_timer()
This removes the wrappers around the sk timer functions, since not much is
gained from using them: the BUG_ON in start_rto_timer will never trigger
since that function is called only if:
* the RTO timer expires (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).
Removing the wrappers also clears the way for eventually replacing 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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/tcp.h')
0 files changed, 0 insertions, 0 deletions