From: Eric Dumazet Date: Tue, 9 Sep 2014 15:11:41 +0000 (-0700) Subject: ipv4: rcu cleanup in ip_ra_control() X-Git-Tag: fixes-against-v3.18-rc2~81^2~112 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e380f004e8e3c071590426a64210331051a4c42;p=pandora-kernel.git ipv4: rcu cleanup in ip_ra_control() Remove one sparse warning : net/ipv4/ip_sockglue.c:328:22: warning: incorrect type in assignment (different address spaces) net/ipv4/ip_sockglue.c:328:22: expected struct ip_ra_chain [noderef] *next net/ipv4/ip_sockglue.c:328:22: got struct ip_ra_chain *[assigned] ra And replace one rcu_assign_ptr() by RCU_INIT_POINTER() where applicable. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed