diff
< 	rt = pol_lookup_func(lookup, ...);
< 	if (rt != net->ipv6.ip6_null_entry) {
---
> 	rt = pol_lookup_func(lookup, ...);
> 	if (!rt)
> 		return -ENOENT; // or appropriate error code
> 	if (rt != net->ipv6.ip6_null_entry) {
