c
rt = pol_lookup_func(lookup, ...); 

if (rt == NULL) { 
    // Handle the lookup failure appropriately.
    // This might involve logging an error, using a default value, etc.
} else if (rt != net->ipv6.ip6_null_entry) {
    // Proceed with your logic if rt is valid and not the null entry.
} 
