netdev: Allow get_ifindex and get_features to be null.