c
rt = pol_lookup_func(lookup, /* ... arguments ... */);
if (rt != NULL) {
    if (rt != net->ipv6.ip6_null_entry) {
        // Proceed with your logic
    } 
} else {
    // Handle the lookup failure
}
