diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-03-25 11:41:44 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-03-25 13:06:21 -0400 |
| commit | cc7165b62a3e44aabdac4cb2d3cfe31dac0dab67 (patch) | |
| tree | 3fff132a26178c3886e7c29a47904b6aca82e1d0 /lib/command.c | |
| parent | b53e10a1739b31cb8900ea792572d15919edbcea (diff) | |
lib: Fix handling of poll
poll returns the number of revents that we need to handle
in the array. revent is a bit field of events that need
to be handled. thread.c was treating each sub item in the
bitfield as a separate item to handle.
As such the loop over the pollfds would quit early
sometimes.
Ticket: CM-10077
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Reviewed-by: Don Slice <dslice@cumulusnetworks.com>
Diffstat (limited to 'lib/command.c')
0 files changed, 0 insertions, 0 deletions
