From owner-cvs-src@FreeBSD.ORG Sat Jul 19 13:16:08 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 106BE106566C; Sat, 19 Jul 2008 13:16:08 +0000 (UTC) (envelope-from gonzo@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id DCC298FC1A; Sat, 19 Jul 2008 13:16:07 +0000 (UTC) (envelope-from gonzo@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m6JDG76J091934; Sat, 19 Jul 2008 13:16:07 GMT (envelope-from gonzo@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.2/8.14.1/Submit) id m6JDG7CB091933; Sat, 19 Jul 2008 13:16:07 GMT (envelope-from gonzo@repoman.freebsd.org) Message-Id: <200807191316.m6JDG7CB091933@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to gonzo@repoman.freebsd.org using -f From: Oleksandr Tymoshenko Date: Sat, 19 Jul 2008 13:15:51 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/netinet in.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jul 2008 13:16:08 -0000 gonzo 2008-07-19 13:15:51 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/netinet in.c Log: SVN rev 180611 on 2008-07-19 13:15:51Z by gonzo MFC r179971: 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 MFC after: 3 weeks Revision Changes Path 1.85.2.11 +8 -0 src/sys/netinet/in.c