Branch: refs/heads/master
Home:
https://github.com/ClusterLabs/libqb
Commit: 0f68c8c8283786c271624a3955c8adac878191f9
https://github.com/ClusterLabs/libqb/commit/0f68c8c8283786c271624a3955c8a...
Author: Christine Caulfield <ccaulfie(a)redhat.com>
Date: 2015-09-24 (Thu, 24 Sep 2015)
Changed paths:
M lib/ipc_shm.c
Log Message:
-----------
ipc: Don't send the dispatch_del() function a closed fd
The current code closes the fd before passing it to the
provided delete function. In the default case this can generate
"epoll_ctl(del): Bad file descriptor" messages when debug logging
is enabled.
This patch swaps over the calls so that a valid FD is passed to
the delete function.
Signed-off-by: Christine Caulfield <ccaulfie(a)redhat.com>
Reviewed-By: Ken Gaillot <kgaillot(a)redhat.com>