android_kernel_xiaomi_sm8350/net/dccp
Gerrit Renker aabb601b0f [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 <gerrit@erg.abdn.ac.uk>
Acked-by: Ian McDonald <ian.mcdonald@jandi.co.nz>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-03-09 13:47:58 -08:00
..
ccids [DCCP]: Revert patch which disables bidirectional mode 2007-03-07 16:08:07 -08:00
ackvec.c [DCCP]: Whitespace cleanups 2006-12-11 14:35:00 -08:00
ackvec.h [DCCP] ackvec: infrastructure for sending more than one ackvec per packet 2006-12-02 21:30:32 -08:00
ccid.c [PATCH] slab: remove kmem_cache_t 2006-12-07 08:39:25 -08:00
ccid.h [DCCP] ccid: Deprecate ccid_hc_tx_insert_options 2006-12-11 14:34:49 -08:00
dccp.h [DCCP]: Initialise write_xmit_timer also on passive sockets 2007-03-09 13:47:58 -08:00
diag.c
feat.c [NET] DCCP: Fix whitespace errors. 2007-02-10 23:19:27 -08:00
feat.h [NET] DCCP: Fix whitespace errors. 2007-02-10 23:19:27 -08:00
input.c [DCCP]: Revert patch which disables bidirectional mode 2007-03-07 16:08:07 -08:00
ipv4.c [NET] DCCP: Fix whitespace errors. 2007-02-10 23:19:27 -08:00
ipv6.c [NET] DCCP: Fix whitespace errors. 2007-02-10 23:19:27 -08:00
ipv6.h
Kconfig [DCCP]: enable debug messages also for static builds 2006-12-02 21:24:35 -08:00
Makefile [DCCPv6]: Resolve conditional build problem 2006-12-02 21:22:28 -08:00
minisocks.c [DCCP]: Set RTO for newly created child socket 2007-03-06 14:24:44 -08:00
options.c [NET] DCCP: Fix whitespace errors. 2007-02-10 23:19:27 -08:00
output.c [DCCP]: Initialise write_xmit_timer also on passive sockets 2007-03-09 13:47:58 -08:00
probe.c [PATCH] mark struct file_operations const 7 2007-02-12 09:48:46 -08:00
proto.c [NET] DCCP: Fix whitespace errors. 2007-02-10 23:19:27 -08:00
sysctl.c [PATCH] sysctl: remove insert_at_head from register_sysctl 2007-02-14 08:09:59 -08:00
timer.c [DCCP]: Initialise write_xmit_timer also on passive sockets 2007-03-09 13:47:58 -08:00