Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Mar 2004 12:06:51 +0300
From:      Valentin Nechayev <netch@ivb.nn.kiev.ua>
To:        Max Khon <fjoe@samodelkin.net>
Cc:        freebsd-net@freebsd.org
Subject:   Re: race condition in ipfw restart (please review the fix)
Message-ID:  <20040329090651.GA3788@iv.nn.kiev.ua>
In-Reply-To: <20040324195934.GA76265@samodelkin.net>
References:  <20040324195934.GA76265@samodelkin.net>

next in thread | previous in thread | raw e-mail | index | archive | help
 Thu, Mar 25, 2004 at 01:59:34, fjoe (Max Khon) wrote about "race condition in ipfw restart (please review the fix)": 

MK> ipfw restart has race condition: there is "sleep 2" statement after
MK> killall natd but if natd will not die in 2 seconds ipfw can't
MK> start nat daemon (natd: Unable to bind divert socket.: Address already in use).

Is there any reason to wait until natd finishes polite restart?
I usually kill it with -KILL, result is the same.


-netch-



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040329090651.GA3788>