mirror_zfs/include/os
Chunwei Chen 249d759caf
Fix invalid pointer access in trace_dbuf.h
In dnode_destroy, dn_objset is invalidated. However, it will later call
into dbuf_destroy, in which DTRACE_SET_STATE will try to access spa_name
via dn_objset causing illegal pointer access.

Reviewed-by: Brian Atkinson <batkinson@lanl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Chunwei Chen <david.chen@nutanix.com>
Closes #15333
2023-10-02 16:58:01 -07:00
..
freebsd Add VERIFY0P() and ASSERT0P() macros. 2023-09-19 17:21:55 -07:00
linux Fix invalid pointer access in trace_dbuf.h 2023-10-02 16:58:01 -07:00