Commit 8c3c356b authored by Philippe Gerum's avatar Philippe Gerum
Browse files

evl/poll: return -ELOOP on circular loop

Signed-off-by: Philippe Gerum's avatarPhilippe Gerum <>
parent c7a513ea
......@@ -137,7 +137,7 @@ static int check_no_loop_deeper(struct poll_group *origin,
int ret = 0;
if (depth >= POLLER_NEST_MAX)
return -EINVAL;
return -ELOOP;
efilp = evl_get_file(item->fd);
if (efilp == NULL)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment