Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
xenomai
xenomai4
linux-evl
Commits
8c3c356b
Commit
8c3c356b
authored
Aug 09, 2019
by
Philippe Gerum
Browse files
evl/poll: return -ELOOP on circular loop
Signed-off-by:
Philippe Gerum
<
rpm@xenomai.org
>
parent
c7a513ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
kernel/evl/poll.c
View file @
8c3c356b
...
@@ -137,7 +137,7 @@ static int check_no_loop_deeper(struct poll_group *origin,
...
@@ -137,7 +137,7 @@ static int check_no_loop_deeper(struct poll_group *origin,
int
ret
=
0
;
int
ret
=
0
;
if
(
depth
>=
POLLER_NEST_MAX
)
if
(
depth
>=
POLLER_NEST_MAX
)
return
-
E
INVAL
;
return
-
E
LOOP
;
efilp
=
evl_get_file
(
item
->
fd
);
efilp
=
evl_get_file
(
item
->
fd
);
if
(
efilp
==
NULL
)
if
(
efilp
==
NULL
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment