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); } _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"