[Bug 200991] [patch] do not assert that the new rtentry mutex is not initialized

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Aug 1 23:08:00 UTC 2016


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

--- Comment #1 from commit-hook at 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.


More information about the freebsd-bugs mailing list