• Stephen Cameron's avatar
    [PATCH] fix cpqfc passthrough ioctl for 2.5.30 · bd381b1f
    Stephen Cameron authored
    This patch fixes the cpqfc passthrough ioctl for 2.5.30.
    
    One question... Is it possible for a user app, by abusing
    a upperlevel driver (e.g. the sg driver) to put a bogus
    value into Scsi_Request->upper_level_private?
    
    This patch kind of depends on this being impossible.
    
    If it is possible, maybe it's better if I find another way
    to identify passthrough commands on completion than what
    this patch does.  e.g. keep a list of the passthru Scsi_Requests
    that are outstanding, then search the list on each completion...(yuck.)
    
    -- steve
    bd381b1f
cpqfcTSstructs.h 46.2 KB