[PATCH] vdpa/sfc: fix null pointer dereference
    Weiguo Li 
    liwg06 at foxmail.com
       
    Fri Feb  4 12:56:24 CET 2022
    
    
  
The macro sfc_vdpa_info(sva, ...) will invoke sva->logtype_main, 
It'll trigger a NULL dereference when sva is NULL.
This patch fix it.
BTW this patch is not superseded by another one:
 [v2] vdpa/sfc: fix null dereference
 (http://dpdk.org/patch/106720)
They looks alike in title, but deal with different files.
Please don't tag me as superseded again :)
    
    
More information about the dev
mailing list