From: Duan Jiong Date: Fri, 14 Feb 2014 10:26:22 +0000 (+0800) Subject: ipv4: distinguish EHOSTUNREACH from the ENETUNREACH X-Git-Tag: v3.14-rc4~30^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd0f0b95fd2cd2b716caf5f15db73ab76992789b;p=pandora-kernel.git ipv4: distinguish EHOSTUNREACH from the ENETUNREACH since commit 251da413("ipv4: Cache ip_error() routes even when not forwarding."), the counter IPSTATS_MIB_INADDRERRORS can't work correctly, because the value of err was always set to ENETUNREACH. Signed-off-by: Duan Jiong Signed-off-by: David S. Miller --- Reading git-diff-tree failed