Subject: Re: fix for if_detach panic
To: None <>
From: Christos Zoulas <>
List: tech-net
Date: 08/03/2004 18:11:51
In article <>,
YAMAMOTO Takashi <> wrote:
>the attached diff is to fix address leaks on ioctl error,
>which causes a panic on if_detach.
>("if_detach: no domain for AF 0")
>- SIOCAIFADDR, SIOCSIFADDR: free an address on error.
>- SIOCSIFNETMASK, SIOCSIFDSTADDR: reject operations for an interface which
>  has no AF_INET addresses.
>(partly from OpenBSD and FreeBSD.)
>can anyone review it?  thanks.

Looks ok to me.