diff options
author | Florian Westphal | 2019-05-31 18:27:04 +0200 |
---|---|---|
committer | David S. Miller | 2019-06-03 03:06:26 +0200 |
commit | ef11db3310e272d3d8dbe8739e0770820dd20e52 (patch) | |
tree | 9b03e99d63d2ce8b04a8b489a52aac3d1c47e8f7 /net/ceph/ceph_common.c | |
parent | afs: do not send list of client addresses (diff) | |
download | kernel-qcow2-linux-ef11db3310e272d3d8dbe8739e0770820dd20e52.tar.gz kernel-qcow2-linux-ef11db3310e272d3d8dbe8739e0770820dd20e52.tar.xz kernel-qcow2-linux-ef11db3310e272d3d8dbe8739e0770820dd20e52.zip |
net: inetdevice: provide replacement iterators for in_ifaddr walk
The ifa_list is protected either by rcu or rtnl lock, but the
current iterators do not account for this.
This adds two iterators as replacement, a later patch in
the series will update them with the needed rcu/rtnl_dereference calls.
Its not done in this patch yet to avoid sparse warnings -- the fields
lack the proper __rcu annotation.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ceph/ceph_common.c')
0 files changed, 0 insertions, 0 deletions