Eric Dumazet
9f1ab18672
tcp_metrics: fix wrong lockdep annotations
...
Changes in tcp_metric hash table are protected by tcp_metrics_lock
only, not by genl_mutex
While we are at it use deref_locked() instead of rcu_dereference()
in tcp_new() to avoid unnecessary barrier, as we hold tcp_metrics_lock
as well.
Reported-by: Andrew Vagin <avagin@parallels.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Fixes: 098a697b497e ("tcp_metrics: Use a single hash table for all network namespaces.")
Reviewed-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-03-16 16:32:23 -04:00
..
2015-02-14 23:08:44 +01:00
2015-03-12 14:39:40 -04:00
2015-03-02 16:43:41 -05:00
2015-03-03 17:01:37 -05:00
2015-03-03 17:01:37 -05:00
2015-03-03 17:01:37 -05:00
2015-03-05 13:17:39 -05:00
2015-02-22 17:00:08 -05:00
2015-03-14 14:29:45 -04:00
2015-03-10 15:03:02 +01:00
2015-03-03 21:16:48 -05:00
2015-03-09 23:38:02 -04:00
2015-02-19 14:14:42 -08:00
2015-03-16 16:25:06 -04:00
2015-03-06 21:50:02 -05:00
2015-03-14 15:05:10 -04:00
2015-03-09 16:06:10 -04:00
2015-03-16 16:29:18 -04:00
2015-03-03 17:01:38 -05:00
2015-03-01 13:40:23 -05:00
2015-03-14 17:11:31 +01:00
2015-03-16 16:32:23 -04:00
2015-03-16 15:55:29 -04:00
2015-03-02 13:06:31 -05:00
2015-03-09 23:38:02 -04:00
2015-03-02 13:06:31 -05:00
2015-03-02 13:06:31 -05:00
2015-03-03 17:01:38 -05:00
2015-03-02 13:06:31 -05:00
2015-03-03 21:16:48 -05:00
2015-03-14 17:11:30 +01:00
2015-03-12 23:05:04 -04:00
2015-03-09 23:38:02 -04:00
2015-02-11 20:25:11 -08:00
2015-03-03 21:16:48 -05:00
2015-03-02 16:43:41 -05:00
2015-03-02 13:06:31 -05:00
2015-03-12 14:39:40 -04:00
2015-03-12 14:39:40 -04:00
2015-03-02 13:06:31 -05:00
2015-03-02 13:06:31 -05:00
2015-02-04 14:57:45 -08:00
2015-03-02 16:43:41 -05:00
2015-03-09 23:38:02 -04:00
2015-03-12 18:33:15 -04:00
2015-03-02 13:06:31 -05:00
2015-03-08 12:53:46 -07:00
2015-03-16 00:14:43 -04:00
2015-03-14 14:38:32 -04:00
2015-03-02 13:06:31 -05:00
2015-03-02 13:06:31 -05:00
2015-03-03 21:16:48 -05:00
2015-03-02 13:06:31 -05:00
2015-01-18 01:03:45 -05:00
2015-03-03 21:16:48 -05:00
2015-01-07 13:08:04 +01:00
2015-03-04 00:26:06 -05:00
2015-03-02 13:06:31 -05:00