Eric Dumazet 709e8697af tcp: clear xmit timers in tcp_v4_syn_recv_sock()
Simon Kirby reported divides by zero errors in __tcp_select_window()

This happens when inet_csk_route_child_sock() returns a NULL pointer :

We free new socket while we eventually armed keepalive timer in
tcp_create_openreq_child()

Fix this by a call to tcp_clear_xmit_timers()

[ This is a followup to commit 918eb39962dff (net: add missing
bh_unlock_sock() calls) ]

Reported-by: Simon Kirby <sim@hostway.ca>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Tested-by: Simon Kirby <sim@hostway.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-11-16 16:57:45 -05:00
..
2011-11-12 18:13:32 -05:00
2011-04-22 11:04:14 -07:00
2011-10-13 16:05:07 -04:00
2011-10-19 03:10:46 -04:00
2011-05-12 23:03:46 -04:00
2011-10-19 03:10:46 -04:00
2011-02-01 15:35:25 -08:00
2011-06-08 17:05:30 -07:00
2011-03-31 11:26:23 -03:00
2011-10-24 17:36:08 -04:00
2011-03-31 11:26:23 -03:00
2011-10-24 17:36:08 -04:00
2010-10-27 11:37:32 -07:00
2011-11-02 00:51:27 -04:00
2010-07-12 12:57:54 -07:00