Author: Christine Caulfield <ccaulfie(a)redhat.com>
Date: 2015-04-21 (Tue, 21 Apr 2015)
libtap: don't close pipe fd twice
libtap was closing the parent's pipe() fd twice. Sometimes, between the
first and second close, that fd gets reopened by the logging thread as
PF_LOCAL, and used for logging.
Then libtap wakes up again after the fork and closes the fd thinking
it's its pipe fd. knet then opens it again as AF_INET for pinging.
libqb logging then errors on a sendto() and closes it AGAIN, and reopens
it as a PF_LOCAL logging fd. Ping then has a brain haemorrage next time
it comes round to calling sendto().
Signed-off-by: Christine Caulfield <ccaulfie(a)redhat.com>