Fix EEXIST handling on epoll_ctl add
authorDavid Goulet <dgoulet@efficios.com>
Thu, 2 Feb 2012 16:47:37 +0000 (11:47 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Thu, 2 Feb 2012 16:47:37 +0000 (11:47 -0500)
commitb7a6b49fe81863865644ca6ead51c23df927f83d
tree97cb63f392c9e2897fdadeab93abf42b5e20451b
parentb69133401acc92e8b947c81e365872ebab0c9aa8
Fix EEXIST handling on epoll_ctl add

Creating a second channel on the kernel tracer triggers a
update_kernel_poll which iterates over all channels and add the file
descriptors to the epoll set. Collision occurs with the first previously
added channel so EEXIST is acceptable and we simply do not perror() to
keep the session daemon stderr clean.

Signed-off-by: David Goulet <dgoulet@efficios.com>
src/common/compat/compat-epoll.c
This page took 0.025556 seconds and 4 git commands to generate.