[PATCH 5.10 177/227] ring-buffer: Fix bytes_dropped calculation issue