From owner-svn-src-all@FreeBSD.ORG Tue Dec 16 02:48:13 2008 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 207E41065677; Tue, 16 Dec 2008 02:48:13 +0000 (UTC) (envelope-from kmacy@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 0CE8D8FC17; Tue, 16 Dec 2008 02:48:13 +0000 (UTC) (envelope-from kmacy@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id mBG2mCpH024279; Tue, 16 Dec 2008 02:48:12 GMT (envelope-from kmacy@svn.freebsd.org) Received: (from kmacy@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id mBG2mCPE024278; Tue, 16 Dec 2008 02:48:12 GMT (envelope-from kmacy@svn.freebsd.org) Message-Id: <200812160248.mBG2mCPE024278@svn.freebsd.org> From: Kip Macy Date: Tue, 16 Dec 2008 02:48:12 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r186161 - head/sys/netinet X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Dec 2008 02:48:13 -0000 Author: kmacy Date: Tue Dec 16 02:48:12 2008 New Revision: 186161 URL: http://svn.freebsd.org/changeset/base/186161 Log: don't unlock lle if it is NULL Modified: head/sys/netinet/if_ether.c Modified: head/sys/netinet/if_ether.c ============================================================================== --- head/sys/netinet/if_ether.c Tue Dec 16 02:47:22 2008 (r186160) +++ head/sys/netinet/if_ether.c Tue Dec 16 02:48:12 2008 (r186161) @@ -777,7 +777,8 @@ arp_ifinit(struct ifnet *ifp, struct ifa if (lle == NULL) log(LOG_INFO, "arp_ifinit: cannot create arp " "entry for interface address\n"); - LLE_RUNLOCK(lle); + else + LLE_RUNLOCK(lle); ifa->ifa_rtrequest = NULL; }