diff options
author | Dan McDonald <danmcd@mnx.io> | 2022-07-27 11:38:48 -0400 |
---|---|---|
committer | Dan McDonald <danmcd@mnx.io> | 2022-07-27 11:38:48 -0400 |
commit | 2d95ff2da70f3303c5ca18fa5a829d6aa112f1c2 (patch) | |
tree | 65545eb7549b84a04dbc46c0a5cbe095ff203eda | |
parent | 3cb6e177d912feb5ee64a52a1d70bb70c81ddedf (diff) | |
download | illumos-joyent-release-20220728.tar.gz |
14827 overlay_m_stop() blows verify in race with overlay_target_inject() (fix header)release-20220728
-rw-r--r-- | usr/src/uts/common/io/overlay/overlay_mux.c | 3 | ||||
-rw-r--r-- | usr/src/uts/common/sys/overlay_impl.h | 3 |
2 files changed, 3 insertions, 3 deletions
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 <sys/sdt.h> -#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 *); |