DragonFlyBSD Kernel Audit
DF-0546 / live_reachability_check.txt
← back to finding ↓ download raw
========== LIVE NETMAP REACHABILITY CHECK ==========
Guest: DragonFly 6.5-DEVELOPMENT #0 (with-src, INVARIANTS ON)

Evidence:
- /dev/netmap: DOES NOT EXIST
- /boot/kernel/netmap.ko: DOES NOT EXIST (not built as module)
- netmap symbols in /boot/kernel/kernel: 0 (not compiled into kernel)
- netmap in X86_64_GENERIC config: 0 (not configured)
- netmap in conf/files: 0 (not in build system)
- if_unused7 in struct ifnet: 0 (REMOVED - netmap's WNA macro is broken)

Root cause: netmap source exists at sys/net/netmap/ but is NEVER compiled.
  The struct ifnet no longer has if_unused7, so netmap's WNA() macro that
  accesses if_unused7 cannot compile. There is no netmap.ko module shipped,
  no /dev/netmap device, and the subsystem is completely absent from the
  running kernel.

Conclusion: All netmap code paths (nm_bdg_preflush, nm_bdg_flush,
  netmap_mem_ofstophys) are DEAD CODE on this kernel.