Merge tag 'locks-v3.17-2' of git://git.samba.org/jlayton/linux
[cascardo/linux.git] / net / ipv4 / route.c
index 1901998..eaa4b00 100644 (file)
@@ -1798,8 +1798,6 @@ local_input:
 no_route:
        RT_CACHE_STAT_INC(in_no_route);
        res.type = RTN_UNREACHABLE;
-       if (err == -ESRCH)
-               err = -ENETUNREACH;
        goto local_input;
 
        /*