On Fri, Sep 2, 2022 at 8:18 AM Ammar Faizi wrote: > static void signal_var(int *var) > { > pthread_mutex_lock(&mutex); > *var = 1; > @@ -80,45 +81,37 @@ void *recv_thread(void *arg) > ret = io_uring_queue_init(8, &ring, 0); > assert(ret == 0); > > int s0 = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); > assert(s0 != -1); > > int32_t val = 1; > ret = setsockopt(s0, SOL_SOCKET, SO_REUSEPORT, &val, sizeof(val)); > assert(ret != -1); > ret = setsockopt(s0, SOL_SOCKET, SO_REUSEADDR, &val, sizeof(val)); > assert(ret != -1); > > - struct sockaddr_in addr; > + struct sockaddr_in addr = { }; move this variable to the top plz, with that fixed: Reviewed-by: Alviro Iskandar Setiawan <alviro.iskandar@xxxxxxxxxxx> tq -- Viro