[PATCH OLK-5.10 1/2] ring-buffer: Do not swap cpu_buffer during resize process