Eric Dumazet f7fce74e38 net: kill an RCU warning in inet_fill_link_af()
commits 9f0f7272 (ipv4: AF_INET link address family) and cf7afbfeb8c
(rtnl: make link af-specific updates atomic) used incorrect
__in_dev_get_rcu() in RTNL protected contexts, triggering PROVE_RCU
warnings.

Switch to __in_dev_get_rtnl(), wich is more appropriate, since we hold
RTNL.

Based on a report and initial patch from Amerigo Wang.

Reported-by: Amerigo Wang <amwang@redhat.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Thomas Graf <tgraf@infradead.org>
Reviewed-by: WANG Cong <amwang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-12-06 12:59:06 -08:00
..
2010-10-25 13:09:44 -07:00
2010-11-18 09:37:07 -08:00
2010-09-23 14:33:39 -07:00
2010-10-21 15:44:13 +02:00
2010-09-23 14:33:39 -07:00
2010-04-20 16:37:13 -07:00
2010-11-21 10:01:42 -08:00
2010-11-15 13:24:06 -05:00
2010-11-10 12:12:00 -08:00
2010-12-02 13:34:06 -08:00
2010-11-08 13:50:09 -08:00
2010-10-21 03:09:46 -07:00
2010-11-28 18:24:14 -08:00
2010-10-15 15:53:27 +02:00
2010-11-12 13:27:25 -08:00