c
< 	if (rt != net->ipv6.ip6_null_entry) {
---
> 	if (rt != NULL && rt != net->ipv6.ip6_null_entry) {
> 		// ...
> 	} else if (rt == NULL) {
> 		// handle null rt case
> 	}
