diff options
author | WANG Cong <xiyou.wangcong@gmail.com> | 2017-03-02 05:48:39 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-02 23:35:31 +0100 |
commit | 9d6acb3bc9058d1fd7a5297d71f14213679bb4bd (patch) | |
tree | 39d335f1130b0b52e605abefd04e8b55b1546f0b /arch/h8300 | |
parent | drivers: net: ethernet: remove incorrect __exit markups (diff) | |
download | linux-9d6acb3bc9058d1fd7a5297d71f14213679bb4bd.tar.xz linux-9d6acb3bc9058d1fd7a5297d71f14213679bb4bd.zip |
ipv6: ignore null_entry in inet6_rtm_getroute() too
Like commit 1f17e2f2c8a8 ("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: a1a22c1206 ("net: ipv6: Keep nexthop of multipath route on admin down")
Reported-by: Dmitry Vyukov <dvyukov@google.com>
Cc: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Acked-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/h8300')
0 files changed, 0 insertions, 0 deletions