Date: Thu, 13 Sep 2007 02:54:46 GMT From: Kip Macy <kmacy@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 126355 for review Message-ID: <200709130254.l8D2sk0f020554@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=126355 Change 126355 by kmacy@kmacy_home:ethng on 2007/09/13 02:54:10 don't try to unlock a null route Affected files ... .. //depot/projects/ethng/src/sys/net/route.c#6 edit Differences ... ==== //depot/projects/ethng/src/sys/net/route.c#6 (text+ko) ==== @@ -338,11 +338,10 @@ rt_missmsg(msgtype, &info, 0, err); } } - if (newrt) - RT_LOCK_ASSERT(newrt); - - RT_UNLOCK_SHARED(newrt); - + if (newrt) { + RT_LOCK_ASSERT(newrt); + RT_UNLOCK_SHARED(newrt); + } return (newrt); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709130254.l8D2sk0f020554>