From: Eric Dumazet Date: Wed, 1 Dec 2010 06:03:06 +0000 (+0000) Subject: net: kill an RCU warning in inet_fill_link_af() X-Git-Tag: v2.6.38-rc1~476^2~313 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7fce74e387e0563e5a165704664aa5ee8b2f48b;p=pandora-kernel.git 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 Signed-off-by: Eric Dumazet Cc: Thomas Graf Reviewed-by: WANG Cong Signed-off-by: David S. Miller --- Reading git-diff-tree failed