• Duncan Sands's avatar
    [PATCH] USB usbfs: missing lock in proc_getdriver · c057908f
    Duncan Sands authored
    Hi Oliver,
    
    > I expect it to rarely matter, but it might matter now and then. It's
    > just a question of hygiene. If you are using a temporary buffer I'd
    > like to see it used to full advantage. So either drop the lock or do
    > a direct copy. I'd prefer the first option your patch implemented.
    
    I agree.  Greg, please consider applying the updated patch:
    
    
    
    Protect against driver binding changes while reading the driver name.
    c057908f
devio.c 33.1 KB