Skip to content

Commit

Permalink
Merge pull request torvalds#84 from pscollins/check-pollpri
Browse files Browse the repository at this point in the history
lkl: Check for POLLPRI in POSIX net_poll
  • Loading branch information
Octavian Purdila committed Feb 23, 2016
2 parents 1bffa2f + d63b7d9 commit 2c4cc22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/lkl/lib/posix-host.c
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ static int net_poll(union lkl_netdev nd, int events)
int ret = 0;

if (events & LKL_DEV_NET_POLL_RX)
pfd.events |= POLLIN;
pfd.events |= POLLIN | POLLPRI;
if (events & LKL_DEV_NET_POLL_TX)
pfd.events |= POLLOUT;

Expand Down

0 comments on commit 2c4cc22

Please sign in to comment.