From: Gerrit Renker Date: Fri, 9 Mar 2007 21:47:58 +0000 (-0800) Subject: [DCCP]: Initialise write_xmit_timer also on passive sockets X-Git-Tag: v2.6.21-rc4~50^2~2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aabb601b0f08b909b650f1a7bfa1e8d9b5a8d999;p=pandora-kernel.git [DCCP]: Initialise write_xmit_timer also on passive sockets The TX CCID needs the write_xmit_timer for delaying packet sends. Previously this timer was only activated on active (connecting) sockets. This patch initialises the write_xmit_timer in sync with the other timers, i.e. the timer will be ready on any socket. This is used by applications with a listening socket which start to stream after receiving an initiation by the client. The write_xmit_timer is stopped when the application closes, as before. Was tested to work and to remove the timer bug reported on dccp@vger. Also moved timer initialisation into timer.c (static). Signed-off-by: Gerrit Renker Acked-by: Ian McDonald Signed-off-by: David S. Miller --- Reading git-diff-tree failed