Searched hist:"416 c51e17b8b31b574763ac2b88ee99ddbb0c85d" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/core/ |
H A D | net_namespace.c | diff 416c51e17b8b31b574763ac2b88ee99ddbb0c85d Tue Sep 09 10:24:53 CDT 2014 Eric Dumazet <edumazet@google.com> 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 *<noident> net/core/net_namespace.c:227:18: got struct net_generic [noderef] <asn:4>*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 <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|