[Bug 248046] if_bridge(4): Panic when creating an interface: malloc(M_WAITOK) in epoch context

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jul 18 12:43:49 UTC 2020


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

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

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


More information about the freebsd-net mailing list