diff options
author | ae <ae@FreeBSD.org> | 2014-06-02 10:14:03 +0000 |
---|---|---|
committer | ae <ae@FreeBSD.org> | 2014-06-02 10:14:03 +0000 |
commit | af0a9c5a593bd3a627fe082ca32622a43e0db106 (patch) | |
tree | d8dad7676d400be04d4cfeddd97a5e99173879dc /lib/libgssapi/gss_krb5.c | |
parent | 7bdc5350627b271d3d714a1d5292d8639377cd14 (diff) | |
download | FreeBSD-src-af0a9c5a593bd3a627fe082ca32622a43e0db106.zip FreeBSD-src-af0a9c5a593bd3a627fe082ca32622a43e0db106.tar.gz |
MFC r266444:
We have two functions from where a geom orphan method could be called:
g_orphan_register and g_resize_provider_event. Both are called from the
event queue. Also we have GEOM_DEV class, which does deferred destroy
for its consumers via g_dev_destroy (also called from the event queue).
So it is possible, that for some consumers an orphan method will be
called twice. This triggers panic in g_dev_orphan.
Check that consumer isn't already orphaned before call orphan method.
Diffstat (limited to 'lib/libgssapi/gss_krb5.c')
0 files changed, 0 insertions, 0 deletions