socket_mmap: update ring_type