[PATCH 5.15.y v2 5/5] bpf: Fix ringbuf memory type confusion when passing to helpers