net/ipv4: Move loop over addresses on a device into in_dev_dump_addr
authorDavid Ahern <dsahern@gmail.com>
Fri, 19 Oct 2018 19:45:27 +0000 (12:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Oct 2018 02:33:29 +0000 (19:33 -0700)
commit1c98eca412e1f183070e76d103a296d7afccfd64
treed313fda376ba97b49984262d65d3cb25faf0edb0
parent8df591f35e9651b955d21f43828f54c106cf4807
net/ipv4: Move loop over addresses on a device into in_dev_dump_addr

Similar to IPv6 move the logic that walks over the ipv4 address list
for a device into a helper.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/devinet.c