Date: Tue, 24 Jun 2008 13:58:28 +0000 (UTC) From: Oleksandr Tymoshenko <gonzo@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet in.c Message-ID: <200806241358.m5ODwc4F075629@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
gonzo 2008-06-24 13:58:28 UTC FreeBSD src repository Modified files: sys/netinet in.c Log: SVN rev 179971 on 2008-06-24 13:58:28Z by gonzo In case of interface initialization failure remove struct in_ifaddr* from in_ifaddrhashtbl in in_ifinit because error handler in in_control removes entries only for AF_INET addresses. If in_ifinit is called for the cloned inteface that has just been created its address family is not AF_INET and therefor LIST_REMOVE is not called for respective LIST_INSERT_HEAD and freed entries remain in in_ifaddrhashtbl and lead to memory corruption. PR: kern/124384 Revision Changes Path 1.104 +8 -0 src/sys/netinet/in.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806241358.m5ODwc4F075629>