c
< 	if (rt != net->ipv6.ip6_null_entry) {
---
> 	if (rt != NULL && rt != net->ipv6.ip6_null_entry) {
