[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
Wed Jul 22 20:14:07 UTC 2020


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

--- Comment #9 from commit-hook at FreeBSD.org ---
A commit references this bug:

Author: kp
Date: Wed Jul 22 20:13:13 UTC 2020
New revision: 363430
URL: https://svnweb.freebsd.org/changeset/base/363430

Log:
  bridge: Enter epoch for bridge_input()/bridge_output()

  In stable/12 epoch is not as wide as it is in head. The network stack isn't
yet
  in epoch when bridge_input()/bridge_output() get called, so rather than
assert
  this we must enter it ourselves.

  This is a direct commit to stable/12.

  PR:           248046
  Differential Revision:        https://reviews.freebsd.org/D25715

Changes:
  stable/12/sys/net/if_bridge.c

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


More information about the freebsd-net mailing list