Skip to content
  • Bas Nieuwenhuizen's avatar
    radv: Return NULL for entrypoints when not supported. · e72ad05c
    Bas Nieuwenhuizen authored
    
    
    This implements strict checking for the entrypoint ProcAddr
    functions.
    
     - InstanceProcAddr with instance = NULL, only returns the 3 allowed
       entrypoints.
     - DeviceProcAddr does not return any instance entrypoints.
     - InstanceProcAddr does not return non-supported or disabled
       instance entrypoints.
     - DeviceProcAddr does not return non-supported or disabled device
       entrypoints.
     - InstanceProcAddr still returns non-supported device entrypoints.
    
    Reviewed-by: default avatarDave Airlie <airlied@redhat.com>
    e72ad05c