NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/6841 (using SIOCSIFNETMASK before SIOCSIFADDR corrupts in_ifaddr tailqueue)



On Dec 31, 10:01pm, dholland%NetBSD.org@localhost 
(dholland%NetBSD.org@localhost) wrote:
-- Subject: Re: kern/6841 (using SIOCSIFNETMASK before SIOCSIFADDR corrupts i

| Synopsis: using SIOCSIFNETMASK before SIOCSIFADDR corrupts in_ifaddr tailqueue
| 
| State-Changed-From-To: open->feedback
| State-Changed-By: dholland%NetBSD.org@localhost
| State-Changed-When: Sat, 31 Dec 2011 22:01:57 +0000
| State-Changed-Why:
| Does anyone know if this problem is still current?
| 
| 

Fixed in:

revision 1.100
date: 2004/08/08 09:52:41;  author: yamt;  state: Exp;  lines: +23 -10
branches:  1.100.4;
in_control: fix address leaks on error, which causes a panic
("no domain for AF 0") on if_detach.
- SIOCAIFADDR, SIOCSIFADDR: free an address on error.
- SIOCSIFNETMASK, SIOCSIFDSTADDR: reject operations for an interface which
  has no AF_INET addresses.

christos



Home | Main Index | Thread Index | Old Index