Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Aug 2016 23:08:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 200991] [patch] do not assert that the new rtentry mutex is not initialized
Message-ID:  <bug-200991-8-CsiwgTao00@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-200991-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-200991-8@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200991

--- Comment #1 from commit-hook@freebsd.org ---
A commit references this bug:

Author: cem
Date: Mon Aug  1 23:07:32 UTC 2016
New revision: 303651
URL: https://svnweb.freebsd.org/changeset/base/303651

Log:
  rtentry: Initialize rt_mtx with MTX_NEW

  The "rtentry" zone does not use UMA_ZONE_ZINIT, so it is invalid to assume
the
  mutex's memory will be zero.  Without MTX_NEW, garbage backing memory may
  trigger the "re-initializing a mutex" assertion.

  PR:           200991
  Submitted by: Chang-Hsien Tsai <luke.tw AT gmail.com>

Changes:
  head/sys/net/route.h

-- 
You are receiving this mail because:
You are the assignee for the bug.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-200991-8-CsiwgTao00>