A route with RT_NH_NOREF does not hold a reference on its nexthop.
RO_NHFREE() already drops the nexthop of such a route without releasing
it. cache_route(), which looks up the nexthop that ip6_output() stores
in the route it is given, still took a reference, which nothing would
release. Look the nexthop up without NHR_REF when the route has the
flag, as ip_output() does.
Assert in ip6_output(), as in ip_output(), that a route with the flag
is on the stack of the caller.
Nothing sets the flag on a route given to ip6_output() yet.
No functional change intended.
MFC after: 2 weeks
Sponsored by: Rubicon Communications, LLC ("Netgate")