Commit d63b7d9
committed
lkl: Check for POLLPRI in POSIX net_poll
Strictly speaking, POSIX.1-2008 in the poll.h entry says:
POLLIN
Data other than high priority data may be read without blocking
POLLPRI
Priority data may be read without blocking
So to check that we can read(2) without blocking, we should check for
POLLPRI in addition to POLLIN.
Signed-off-by: Patrick Collins <[email protected]>1 parent c5af86e commit d63b7d9
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
307 | | - | |
| 307 | + | |
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
| |||
0 commit comments