Skip to content
Commit 251da413 authored by David S. Miller's avatar David S. Miller
Browse files

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: default avatarDavid S. Miller <davem@davemloft.net>
parent df67e6c9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment