Date: Tue, 16 Dec 2008 02:48:12 +0000 (UTC) From: Kip Macy <kmacy@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r186161 - head/sys/netinet Message-ID: <200812160248.mBG2mCPE024278@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812160248.mBG2mCPE024278>