lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140909.201528.1233511656443579673.davem@davemloft.net>
Date:	Tue, 09 Sep 2014 20:15:28 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	eric.dumazet@...il.com
Cc:	netdev@...r.kernel.org
Subject: Re: [PATCH net-next] netns: remove one sparse warning

From: Eric Dumazet <eric.dumazet@...il.com>
Date: Tue, 09 Sep 2014 08:24:53 -0700

> From: Eric Dumazet <edumazet@...gle.com>
> 
> 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@...gle.com>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ