Page MenuHomeFreeBSD

D26507.diff
No OneTemporary

D26507.diff

Index: stable/12/sys/cddl/compat/opensolaris/kern/opensolaris_kstat.c
===================================================================
--- stable/12/sys/cddl/compat/opensolaris/kern/opensolaris_kstat.c
+++ stable/12/sys/cddl/compat/opensolaris/kern/opensolaris_kstat.c
@@ -184,16 +184,16 @@
SYSCTL_ADD_PROC(&ksp->ks_sysctl_ctx,
SYSCTL_CHILDREN(ksp->ks_sysctl_root),
OID_AUTO, ksent->name,
- CTLTYPE_STRING | CTLFLAG_RD, ksp, i,
- kstat_sysctl_string, "A", ksent->desc);
+ CTLTYPE_STRING | CTLFLAG_RD | CTLFLAG_MPSAFE,
+ ksp, i, kstat_sysctl_string, "A", ksent->desc);
continue;
}
KASSERT(ksent->data_type == KSTAT_DATA_UINT64,
("data_type=%d", ksent->data_type));
SYSCTL_ADD_PROC(&ksp->ks_sysctl_ctx,
SYSCTL_CHILDREN(ksp->ks_sysctl_root), OID_AUTO, ksent->name,
- CTLTYPE_U64 | CTLFLAG_RD, ksp, i,
- kstat_sysctl, "QU", ksent->desc);
+ CTLTYPE_U64 | CTLFLAG_RD | CTLFLAG_MPSAFE,
+ ksp, i, kstat_sysctl, "QU", ksent->desc);
}
}

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 16, 5:33 AM (21 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14653743
Default Alt Text
D26507.diff (1 KB)

Event Timeline