summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2024-02-29 14:40:16 +0300
committerDavid S. Miller <davem@davemloft.net>2024-03-01 14:09:39 +0300
commitcdb2f80f1c10654efc66c1624f66df2b87eabf06 (patch)
treef2e7cea036c72ec80082a44b44f0d412444c74ba /block
parent590e92cdc835fcf435d8611f2477fff0e16877c7 (diff)
downloadlinux-cdb2f80f1c10654efc66c1624f66df2b87eabf06.tar.xz
inet: use xa_array iterator to implement inet_dump_ifaddr()
1) inet_dump_ifaddr() can can run under RCU protection instead of RTNL. 2) properly return 0 at the end of a dump, avoiding an an extra recvmsg() system call. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions