Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux
[firefly-linux-kernel-4.4.55.git] / net / ipv4 / route.c
index 190199851c9abbd0017f8e6c7134283505f6ceff..eaa4b000c7b443898be7c5ce36f4da4eb20158a6 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;
 
        /*