Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ipv6: ignore null_entry in inet6_rtm_getroute() too
Like commit 1f17e2f ("net: ipv6: ignore null_entry on route dumps"), we need to ignore null entry in inet6_rtm_getroute() too. Return -ENETUNREACH here to sync with IPv4 behavior, as suggested by David. Fixes: a1a22c1 ("net: ipv6: Keep nexthop of multipath route on admin down") Reported-by: Dmitry Vyukov <[email protected]> Cc: David Ahern <[email protected]> Signed-off-by: Cong Wang <[email protected]> Acked-by: David Ahern <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information