ipv4: fix the reusing of routing cache entries