]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - net/ipv6/route.c
net: ipv6: remove prefix arg to rt6_fill_node
authorDavid Ahern <dsa@cumulusnetworks.com>
Tue, 17 Jan 2017 23:51:08 +0000 (15:51 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jan 2017 20:43:59 +0000 (15:43 -0500)
commitf8cfe2ceb1c2ebe1469040d037a733815d2255d5
tree2d3256c2b505076cda603ea822dc3e1d28f33157
parentfd61c6ba313de6758aeeab58fe03bd9fbbc8cea9
net: ipv6: remove prefix arg to rt6_fill_node

The prefix arg to rt6_fill_node is non-0 in only 1 path - rt6_dump_route
where a user is requesting a prefix only dump. Simplify rt6_fill_node
by removing the prefix arg and moving the prefix check to rt6_dump_route.

Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c