[Bug 244703] sys.netpfil.pf.nat.exhaust panics kernel

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Dec 15 15:34:33 UTC 2020


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

Author: kp
Date: Tue Dec 15 15:33:29 UTC 2020
New revision: 368663
URL: https://svnweb.freebsd.org/changeset/base/368663

  MFC r368237:

  if: Fix panic when destroying vnet and epair simultaneously

  When destroying a vnet and an epair (with one end in the vnet) we often
  panicked. This was the result of the destruction of the epair, which destroys
  both ends simultaneously, happening while vnet_if_return() was moving the
  struct ifnet to its home vnet. This can result in a freed ifnet being
  to the home vnet V_ifnet list. That in turn panics the next time the ifnet is

  Prevent this race by ensuring that vnet_if_return() cannot run at the same
  as if_detach() or epair_clone_destroy().

  PR:           238870, 234985, 244703, 250870
  Sponsored by: Modirum MDPay

_U  stable/12/

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

More information about the freebsd-testing mailing list