aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorWANG Cong <[email protected]>2017-03-01 20:48:39 -0800
committerDavid S. Miller <[email protected]>2017-03-02 14:35:31 -0800
commit9d6acb3bc9058d1fd7a5297d71f14213679bb4bd (patch)
tree39d335f1130b0b52e605abefd04e8b55b1546f0b /lib/memory-notifier-error-inject.c
parentbe12502e2e64854dbe0a2ddff6d26ec1143d6890 (diff)
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 <[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]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions