Skip to content

Commit 2c4cc22

Browse files
author
Octavian Purdila
committed
Merge pull request torvalds#84 from pscollins/check-pollpri
lkl: Check for POLLPRI in POSIX net_poll
2 parents 1bffa2f + d63b7d9 commit 2c4cc22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/lkl/lib/posix-host.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ static int net_poll(union lkl_netdev nd, int events)
374374
int ret = 0;
375375

376376
if (events & LKL_DEV_NET_POLL_RX)
377-
pfd.events |= POLLIN;
377+
pfd.events |= POLLIN | POLLPRI;
378378
if (events & LKL_DEV_NET_POLL_TX)
379379
pfd.events |= POLLOUT;
380380

0 commit comments

Comments
 (0)