X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=udp_recv.c;h=f4912e1e5322f1adf79cb805a2782ba7edbecdad;hb=58ce610c5a46eb03810d8a93b10d5bc51bc10b12;hp=615553c586064ed39bfb29e31c3c8fff18faf852;hpb=b56199aab3056d397697ac0c510d4e973c240d7d;p=paraslash.git diff --git a/udp_recv.c b/udp_recv.c index 615553c5..f4912e1e 100644 --- a/udp_recv.c +++ b/udp_recv.c @@ -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;