summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2024-02-29 11:40:16 +0000
committerDavid S. Miller <davem@davemloft.net>2024-03-01 11:09:39 +0000
commitcdb2f80f1c10654efc66c1624f66df2b87eabf06 (patch)
treef2e7cea036c72ec80082a44b44f0d412444c74ba /init
parent590e92cdc835fcf435d8611f2477fff0e16877c7 (diff)
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 'init')
0 files changed, 0 insertions, 0 deletions