diff options
author | Duan Jiong <duanj.fnst@cn.fujitsu.com> | 2014-02-14 11:26:22 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-02-17 05:45:31 +0100 |
commit | cd0f0b95fd2cd2b716caf5f15db73ab76992789b (patch) | |
tree | 1f9194b60c4f24a4897103c3ffec6c99d320d9be /net/sctp/associola.c | |
parent | hyperv: Fix the carrier status setting (diff) | |
download | linux-cd0f0b95fd2cd2b716caf5f15db73ab76992789b.tar.xz linux-cd0f0b95fd2cd2b716caf5f15db73ab76992789b.zip |
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 <duanj.fnst@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/associola.c')
0 files changed, 0 insertions, 0 deletions