| 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
| ||
|
Message-Id: <20111101.035323.458528114788135444.davem@davemloft.net> Date: Tue, 01 Nov 2011 03:53:23 -0400 (EDT) From: David Miller <davem@...emloft.net> To: roy.qing.li@...il.com Cc: netdev@...r.kernel.org Subject: Re: [PATCH next-net] ipv6: Use hlist_for_each_entry_rcu_bh() in ipv6_chk_same_addr() From: roy.qing.li@...il.com Date: Tue, 1 Nov 2011 13:30:55 +0800 > From: RongQing.Li <roy.qing.li@...il.com> > > Replace hlist_for_each_entry and hlist_for_each_entry_rcu with > hlist_for_each_entry_rcu_bh() in ipv6_chk_same_addr and > ipv6_chk_addr to keep that all dereference methods for addr_list > are same, and take advantage of _rcu_bh() critical section > checking and prevention from compiler merging or refetching. > > Signed-off-by: RongQing.Li <roy.qing.li@...il.com> Callers are already in an RCU section with BH disabled when these functions are invoked. -- 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