Lines 354-361
int xt_check_match(struct xt_mtchk_param
Link Here
|
354 |
par->match->proto); |
354 |
par->match->proto); |
355 |
return -EINVAL; |
355 |
return -EINVAL; |
356 |
} |
356 |
} |
357 |
if (par->match->checkentry != NULL && !par->match->checkentry(par)) |
357 |
if (par->match->checkentry != NULL) { |
358 |
return -EINVAL; |
358 |
printk("%s_tables: checkentry %p on %s\n", |
|
|
359 |
xt_prefix[par->family], par->match->checkentry, |
360 |
par->match->name); |
361 |
if (!par->match->checkentry(par)) |
362 |
return -EINVAL; |
363 |
} |
359 |
return 0; |
364 |
return 0; |
360 |
} |
365 |
} |
361 |
EXPORT_SYMBOL_GPL(xt_check_match); |
366 |
EXPORT_SYMBOL_GPL(xt_check_match); |