From 2d95ff2da70f3303c5ca18fa5a829d6aa112f1c2 Mon Sep 17 00:00:00 2001 From: Dan McDonald Date: Wed, 27 Jul 2022 11:38:48 -0400 Subject: 14827 overlay_m_stop() blows verify in race with overlay_target_inject() (fix header) --- usr/src/uts/common/io/overlay/overlay_mux.c | 3 --- usr/src/uts/common/sys/overlay_impl.h | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'usr/src') diff --git a/usr/src/uts/common/io/overlay/overlay_mux.c b/usr/src/uts/common/io/overlay/overlay_mux.c index 69098ed10e..d847beb1c2 100644 --- a/usr/src/uts/common/io/overlay/overlay_mux.c +++ b/usr/src/uts/common/io/overlay/overlay_mux.c @@ -36,9 +36,6 @@ #include -#define OVERLAY_FREEMSG(mp, reason) \ - DTRACE_PROBE2(overlay__freemsg, mblk_t *, mp, char *, reason) - static list_t overlay_mux_list; static kmutex_t overlay_mux_lock; diff --git a/usr/src/uts/common/sys/overlay_impl.h b/usr/src/uts/common/sys/overlay_impl.h index 0095c75eeb..a9d9e842ad 100644 --- a/usr/src/uts/common/sys/overlay_impl.h +++ b/usr/src/uts/common/sys/overlay_impl.h @@ -146,6 +146,9 @@ typedef struct overlay_target_entry { #define OVERLAY_CTL "overlay" +#define OVERLAY_FREEMSG(mp, reason) \ + DTRACE_PROBE2(overlay__freemsg, mblk_t *, mp, char *, reason) + extern dev_info_t *overlay_dip; extern mblk_t *overlay_m_tx(void *, mblk_t *); -- cgit v1.2.3