diff --git a/net/ipv6/route.c b/net/ipv6/route.c index ea0be7cf3d939eee6f1664c07f4ad14ba3eef2bb..f3279810d76523bcfc4ea0ce7e59f1ba6655340c 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c @@ -3405,7 +3405,7 @@ static bool fib6_is_reject(u32 flags, struct net_device *dev, int addr_type) if ((flags & RTF_REJECT) || (dev && (dev->flags & IFF_LOOPBACK) && !(addr_type & IPV6_ADDR_LOOPBACK) && - !(flags & RTF_LOCAL))) + !(flags & (RTF_ANYCAST | RTF_LOCAL)))) return true; return false;