[PATCH 5.15 216/279] ring-buffer: Fix bytes_dropped calculation issue