From: Eric Dumazet Date: Tue, 9 Sep 2014 15:24:53 +0000 (-0700) Subject: netns: remove one sparse warning X-Git-Tag: fixes-against-v3.18-rc2~81^2~110 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=416c51e17b8b31b574763ac2b88ee99ddbb0c85d;p=pandora-kernel.git netns: remove one sparse warning net/core/net_namespace.c:227:18: warning: incorrect type in argument 1 (different address spaces) net/core/net_namespace.c:227:18: expected void const * net/core/net_namespace.c:227:18: got struct net_generic [noderef] *gen We can use rcu_access_pointer() here as read-side access to the pointer was removed at least one grace period ago. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed