]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit86ccc5a1099167bf1545bb71fa0f7bffd17e1ead
tree2d3256c2b505076cda603ea822dc3e1d28f33157
parent960b20ec6def5eccd96a37716e1c62d528689343
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