On 03/12/11 08:51, Ben Pfaff wrote:
On Sat, Mar 12, 2011 at 8:49 AM, Andrew Evans<[email protected]> wrote:
This check can be fooled by PID wrapping. It might be better to have
ovs-monitor-ipsec flock(2) its PID file and for netdev-vport to check that
the file is locked, since the lock will be released even if the process
crashes. Or maybe it's not worth worrying about. What do you think?
read_pidfile() verifies that the pidfile is locked, so this is a non-issue.
Thanks, I see that now. So the kill(2) is unnecessary, then?
-Andrew
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev