xt_geoip: keep compiling for <= 2.6.23

This commit is contained in:
Jan Engelhardt
2011-02-02 05:21:47 +01:00
parent 1edc9b943b
commit 7a8bfed52c

View File

@@ -199,8 +199,8 @@ xt_geoip_mt6(const struct sk_buff *skb, struct xt_action_param *par)
rcu_read_lock();
for (i = 0; i < info->count; i++) {
if ((node = info->mem[i].kernel) == NULL) {
pr_err("'%c%c' is not loaded into memory... skip it!\n",
COUNTRY(info->cc[i]));
printk(KERN_ERR "xt_geoip: what the hell ?? '%c%c' isn't loaded into memory... skip it!\n",
COUNTRY(info->cc[i]));
continue;
}
if (geoip_bsearch6(node->subnets, &ip, 0, node->count)) {