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 PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Fri, 14 Jan 2022 15:50:52 +0000 From: David Laight <David.Laight@...LAB.COM> To: 'Eric Dumazet' <eric.dumazet@...il.com>, "David S . Miller" <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org> CC: netdev <netdev@...r.kernel.org>, Eric Dumazet <edumazet@...gle.com>, syzbot <syzkaller@...glegroups.com>, Ido Schimmel <idosch@...lanox.com>, "Jiri Pirko" <jiri@...lanox.com> Subject: RE: [PATCH net] ipv4: make fib_info_cnt atomic From: Eric Dumazet > Sent: 14 January 2022 15:39 > > Instead of making sure all free_fib_info() callers > hold rtnl, it seems better to convert fib_info_cnt > to an atomic_t. Since fib_info_cnt is only used to control the size of the hash table could it be incremented when a fid is added to the hash table and decremented when it is removed. This is all inside the fib_info_lock. David - Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK Registration No: 1397386 (Wales)
Powered by blists - more mailing lists