commit | 251da4130115b29403a57096fa0988249f31fc55 | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Tue Jun 26 16:27:09 2012 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Jun 26 16:27:09 2012 -0700 |
tree | 8bc64a855cc330048989d30c0082c838e70a9d29 | |
parent | df67e6c9a6ca59ca96bdd46a500ae9dd596f427c [diff] |
ipv4: Cache ip_error() routes even when not forwarding. And account for the fact that, when we are not forwarding, we should bump statistic counters rather than emit an ICMP response. RP-filter rejected lookups are still not cached. Since -EHOSTUNREACH and -ENETUNREACH can now no longer be seen in ip_rcv_finish(), remove those checks. Signed-off-by: David S. Miller <davem@davemloft.net>