Eric Dumazet 1fc19aff84 net: fix two lockdep splats
Commit e67f88dd12f6 (net: dont hold rtnl mutex during netlink dump
callbacks) switched rtnl protection to RCU, but we forgot to adjust two
rcu_dereference() lockdep annotations :

inet_get_link_af_size() or inet_fill_link_af() might be called with
rcu_read_lock or rtnl held, so use rcu_dereference_rtnl()
instead of rtnl_dereference()

Reported-by: Valdis Kletnieks <Valdis.Kletnieks@vt.edu>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-05-10 15:03:01 -07:00
..
2011-04-17 00:48:31 -07:00
2011-04-17 16:57:55 -07:00
2011-03-14 17:02:42 -07:00
2011-05-08 15:28:28 -07:00
2011-05-10 15:03:01 -07:00
2011-05-08 15:28:28 -07:00
2011-03-21 18:16:39 -07:00
2011-03-31 11:26:23 -03:00
2011-05-08 15:28:28 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-05-05 11:10:14 -07:00
2011-04-29 10:20:53 -07:00
2011-05-05 11:10:14 -07:00