[ovs-dev] [PATCH] daemon: Avoid leaking socket fd in daemonize_start()

Ben Pfaff blp at nicira.com
Mon Sep 5 04:38:29 UTC 2011


On Mon, Sep 05, 2011 at 11:15:25AM +0900, Simon Horman wrote:
> When a daemon is set to monitor then saved_daemonize_id
> needs to be closed in both the monitor and daemon processes
> to avoid a leaking a file descriptor. This patch adds the latter.

Needs { } around the close() call.

I haven't reviewed the actual change yet.



More information about the dev mailing list