c
if (rt && rt != net->ipv6.ip6_null_entry) {
    // ...
}
