]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - net/ipv6/route.c
net: ipv6: set route type for anycast routes
authorDavid Ahern <dsa@cumulusnetworks.com>
Thu, 16 Mar 2017 01:14:33 +0000 (18:14 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Mar 2017 03:40:14 +0000 (20:40 -0700)
commit4ee39733fbecf04cf9f346de2d64788c35028079
treeddf151c5ca53267988cbf2048d09c6da5682869a
parent61733c91c454a61be0ffc93fe46a5d5f2f048c1c
net: ipv6: set route type for anycast routes

Anycast routes have the RTF_ANYCAST flag set, but when dumping routes
for userspace the route type is not set to RTN_ANYCAST. Make it so.

Fixes: 58c4fb86eabcb ("[IPV6]: Flag RTF_ANYCAST for anycast routes")
CC: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c