Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Jul 2020 12:43:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 248046] if_bridge(4): Panic when creating an interface: malloc(M_WAITOK) in epoch context
Message-ID:  <bug-248046-7501-ewIR3ikbfF@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-248046-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-248046-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248046

--- Comment #5 from commit-hook@FreeBSD.org ---
A commit references this bug:

Author: kp
Date: Sat Jul 18 12:43:11 UTC 2020
New revision: 363308
URL: https://svnweb.freebsd.org/changeset/base/363308

Log:
  bridge: Don't sleep during epoch

  While it doesn't trigger INVARIANTS or WITNESS on head it does in stable/=
12.
  There's also no reason for it, as we can easily report the out of memory
error
  to the caller (i.e. userspace). All of these can already fail.

  PR:           248046
  MFC after:    3 days

Changes:
  head/sys/net/if_bridge.c

--=20
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-248046-7501-ewIR3ikbfF>