• James Bottomley's avatar
    Fix use after free in scsi_host_put · ad34a784
    James Bottomley authored
    put_device will call release and free the host structure (which
    contains both the generic device and the host class).  We must do
    the class_device_put() *before* the put_device().
    ad34a784
hosts.c 14.4 KB