]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - udp_recv.c
Introduce afh_get_afhi_txt().
[paraslash.git] / udp_recv.c
index 615553c586064ed39bfb29e31c3c8fff18faf852..f4912e1e5322f1adf79cb805a2782ba7edbecdad 100644 (file)
@@ -57,7 +57,9 @@ static void udp_recv_post_select(__a_unused struct sched *s, struct task *t)
        struct iovec iov[2];
        int ret, readv_ret, iovcnt;
 
-       t->error = 0;
+       ret = task_get_notification(t);
+       if (ret < 0)
+               goto out;
        ret = btr_node_status(btrn, 0, BTR_NT_ROOT);
        if (ret <= 0)
                goto out;