[Bug 188899] [cas] cas ethernet driver seems to have issues with some multiport card and mother board combinations

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Dec 27 15:56:09 UTC 2015


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

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

Author: marius
Date: Sun Dec 27 15:55:15 UTC 2015
New revision: 292778
URL: https://svnweb.freebsd.org/changeset/base/292778

Log:
  MFC: r286785, r291088, r291120
  - Reformat x86 bounce buffer synchronization code to reduce indentation.
    No functional change.
  - Avoid a NULL pointer dereference in bounce_bus_dmamap_sync() when the
    map has been created via bounce_bus_dmamem_alloc(). Even for coherent
    DMA - which bus_dmamem_alloc(9) typically is used for -, calling of
    bus_dmamap_sync(9) isn't optional. [1]
  - Avoid a NULL pointer dereference in bounce_bus_dmamap_unload() when
    the map has been created via bounce_bus_dmamem_alloc(). In that case
    bus_dmamap_unload(9) typically isn't called during normal operation
    but still should be during detach, cleanup from failed attach etc. [2]

  PR:           188899 (non-original problem) [1]
  Submitted by: yongari [2]

Changes:
_U  stable/9/sys/
  stable/9/sys/x86/x86/busdma_machdep.c

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


More information about the freebsd-net mailing list