race condition in ipfw restart (please review the fix)
Valentin Nechayev
netch at ivb.nn.kiev.ua
Mon Mar 29 01:07:48 PST 2004
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-
More information about the freebsd-net
mailing list