Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ipv4: distinguish EHOSTUNREACH from the ENETUNREACH
since commit 251da41("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 <duanj.fnst@cn.fujitsu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
- Loading branch information