David S. Miller
8f49c2703b
tcp: Don't change unlocked socket state in tcp_v4_err().
...
Alexey Kuznetsov noticed a regression introduced by
commit f1ecd5d9e7366609d640ff4040304ea197fbc618
("Revert Backoff [v3]: Revert RTO on ICMP destination unreachable")
The RTO and timer modification code added to tcp_v4_err()
doesn't check sock_owned_by_user(), which if true means we
don't have exclusive access to the socket and therefore cannot
modify it's critical state.
Just skip this new code block if sock_owned_by_user() is true
and eliminate the now superfluous sock_owned_by_user() code
block contained within.
Reported-by: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
CC: Damian Lukowski <damian@tvk.rwth-aachen.de>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
2010-11-12 13:35:00 -08:00
..
2010-11-03 08:45:06 +01:00
2010-08-20 00:50:16 -07:00
2010-03-30 22:02:32 +09:00
2010-10-11 12:54:04 -07:00
2010-10-18 11:03:14 +02:00
2010-09-23 14:33:39 -07:00
2010-10-19 03:50:48 -07:00
2010-02-22 16:20:22 -08:00
2010-10-28 10:27:03 -07:00
2010-10-28 10:27:03 -07:00
2010-11-04 12:05:32 -07:00
2010-10-05 20:39:38 -07:00
2010-10-21 03:09:41 -07:00
2010-10-28 10:27:03 -07:00
2010-10-25 13:09:45 -07:00
2010-08-19 00:08:30 -07:00
2010-11-09 08:26:42 -08:00
2010-07-12 12:57:54 -07:00
2010-11-04 12:26:34 -07:00
2010-07-12 12:57:54 -07:00
2010-10-21 13:06:43 +02:00
2009-11-23 10:41:23 -08:00
2010-03-30 22:02:32 +09:00
2010-10-27 11:37:33 -07:00
2010-06-10 23:31:35 -07:00
2010-09-23 14:33:39 -07:00
2010-10-30 16:21:28 -07:00
2010-06-28 23:24:29 -07:00
2010-09-19 12:42:34 -07:00
2010-09-27 01:03:03 -07:00
2010-10-25 14:18:28 -07:00
2010-02-22 16:20:22 -08:00
2010-06-02 07:05:03 -07:00
2010-10-27 14:20:08 -07:00
2010-10-03 21:50:53 -07:00
2010-10-24 13:41:39 -07:00
2010-08-21 23:05:39 -07:00
2010-06-15 17:31:06 +02:00
2010-11-10 12:12:00 -08:00
2010-10-27 11:37:31 -07:00
2010-08-19 00:08:30 -07:00
2010-10-27 11:37:31 -07:00
2010-06-26 22:00:03 -07:00
2010-11-10 12:12:00 -08:00
2009-03-02 03:00:15 -08:00
2010-08-27 19:31:56 -07:00
2009-03-02 03:00:15 -08:00
2009-12-03 16:06:13 -08:00
2008-01-28 14:55:41 -08:00
2009-11-23 10:41:23 -08:00
2010-06-02 07:15:48 -07:00
2010-10-18 11:03:14 +02:00
2010-11-10 12:12:00 -08:00
2010-11-12 13:35:00 -08:00
2009-11-23 10:41:23 -08:00
2010-09-23 14:33:39 -07:00
2010-09-23 14:33:39 -07:00
2010-10-15 15:53:27 +02:00
2009-03-02 03:00:15 -08:00
2010-10-17 13:46:33 -07:00
2009-05-25 22:44:59 -07:00
2010-10-18 11:03:14 +02:00
2010-09-23 14:33:39 -07:00
2009-11-23 10:41:23 -08:00
2010-11-10 21:35:37 -08:00
2010-10-27 11:37:32 -07:00
2009-09-30 16:12:20 -07:00
2010-11-10 12:12:00 -08:00
2010-07-12 12:57:54 -07:00
2010-07-12 12:57:54 -07:00
2008-08-06 02:39:30 -07:00
2007-10-10 16:55:54 -07:00
2010-03-30 22:02:32 +09:00
2010-03-25 16:00:30 +01:00
2010-10-11 13:06:53 -07:00
2010-09-20 11:11:38 -07:00
2010-08-30 13:50:45 -07:00