[Bug 233955] [panic] Page fault in in6_purgeaddr (triggered by net/wireguard)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Apr 25 12:44:37 UTC 2019


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

--- Comment #31 from commit-hook at freebsd.org ---
A commit references this bug:

Author: kevans
Date: Thu Apr 25 12:44:08 UTC 2019
New revision: 346670
URL: https://svnweb.freebsd.org/changeset/base/346670

Log:
  tun/tap: close race between destroy/ioctl handler

  It seems that there should be a better way to handle this, but this seems to
  be the more common approach and it should likely get replaced in all of the
  places it happens... Basically, thread 1 is in the process of destroying the
  tun/tap while thread 2 is executing one of the ioctls that requires the
  tun/tap mutex and the mutex is destroyed before the ioctl handler can
  acquire it.

  This is only one of the races described/found in PR 233955.

  PR:           233955
  Reviewed by:  ae
  MFC after:    2 weeks
  Differential Revision:        https://reviews.freebsd.org/D20027

Changes:
  head/sys/net/if_tap.c
  head/sys/net/if_tun.c

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


More information about the freebsd-net mailing list