Eric Dumazet 2907c35ff6 net: hold rtnl again in dump callbacks
Commit e67f88dd12f6 (dont hold rtnl mutex during netlink dump callbacks)
missed fact that rtnl_fill_ifinfo() must be called with rtnl held.

Because of possible deadlocks between two mutexes (cb_mutex and rtnl),
its not easy to solve this problem, so revert this part of the patch.

It also forgot one rcu_read_unlock() in FIB dump_rules()

Add one ASSERT_RTNL() in rtnl_fill_ifinfo() to remind us the rule.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
CC: Patrick McHardy <kaber@trash.net>
CC: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-05-25 17:55:32 -04:00
..
2011-05-24 13:29:50 -04:00
2011-05-23 17:37:43 -04:00
2010-07-12 12:57:55 -07:00
2011-03-31 11:26:23 -03:00
2011-01-20 16:59:34 -08:00
2010-11-28 18:24:14 -08:00
2010-07-12 12:57:55 -07:00
2011-05-22 21:01:22 -04:00
2011-03-31 11:26:23 -03:00