Date: Thu, 24 Apr 2014 05:04:55 +0000 (UTC) From: Bryan Venteicher <bryanv@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r264867 - head/sys/dev/virtio/random Message-ID: <201404240504.s3O54tPT039093@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bryanv Date: Thu Apr 24 05:04:54 2014 New Revision: 264867 URL: http://svnweb.freebsd.org/changeset/base/264867 Log: Wait for the callout to finish before unloading the module MFC after: 3 days Modified: head/sys/dev/virtio/random/virtio_random.c Modified: head/sys/dev/virtio/random/virtio_random.c ============================================================================== --- head/sys/dev/virtio/random/virtio_random.c Thu Apr 24 04:43:50 2014 (r264866) +++ head/sys/dev/virtio/random/virtio_random.c Thu Apr 24 05:04:54 2014 (r264867) @@ -156,7 +156,7 @@ vtrnd_detach(device_t dev) sc = device_get_softc(dev); - callout_stop(&sc->vtrnd_callout); + callout_drain(&sc->vtrnd_callout); return (0); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404240504.s3O54tPT039093>