[Bug 241489] netmap + if_vlan panics related to 'Widen NET_EPOCH coverage' work (r353292)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Oct 28 19:00:34 UTC 2019


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

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

Author: vmaffione
Date: Mon Oct 28 19:00:27 UTC 2019
New revision: 354137
URL: https://svnweb.freebsd.org/changeset/base/354137

Log:
  netmap: enter NET_EPOCH on generic txsync

  After r353292, netmap generic adapter on if_vlan interfaces panics on
  asserting the NET_EPOCH. In more detail, this happens when
  nm_os_generic_xmit_frame() is called, that is in the generic txsync
  routine.
  Fix the issue by entering the NET_EPOCH during the generic txsync.
  We amortize the cost of entering/exiting over a whole batch of
  transmissions.

  PR:           241489
  Reported by:  Aleksandr Fedorov <aleksandr.fedorov at itglobal.com>

Changes:
  head/sys/dev/netmap/netmap_generic.c

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


More information about the freebsd-net mailing list