diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2009-07-10 19:27:47 +0200 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2010-03-25 15:02:19 +0100 |
commit | fd0ec0e6216baea854465bbdb177f2d1b2ccaf22 (patch) | |
tree | 47a935d96deae38aa0a030039e303b071a7803e0 /net/bridge/netfilter/ebtables.c | |
parent | d2a7b6bad2c38e41eddb0b24d03627d9e7aa3f7b (diff) | |
download | kernel_samsung_smdk4412-fd0ec0e6216baea854465bbdb177f2d1b2ccaf22.zip kernel_samsung_smdk4412-fd0ec0e6216baea854465bbdb177f2d1b2ccaf22.tar.gz kernel_samsung_smdk4412-fd0ec0e6216baea854465bbdb177f2d1b2ccaf22.tar.bz2 |
netfilter: xtables: consolidate code into xt_request_find_match
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'net/bridge/netfilter/ebtables.c')
-rw-r--r-- | net/bridge/netfilter/ebtables.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/net/bridge/netfilter/ebtables.c b/net/bridge/netfilter/ebtables.c index 6d3b256..c41f3fa 100644 --- a/net/bridge/netfilter/ebtables.c +++ b/net/bridge/netfilter/ebtables.c @@ -361,12 +361,9 @@ ebt_check_match(struct ebt_entry_match *m, struct xt_mtchk_param *par, left - sizeof(struct ebt_entry_match) < m->match_size) return -EINVAL; - match = try_then_request_module(xt_find_match(NFPROTO_BRIDGE, - m->u.name, 0), "ebt_%s", m->u.name); + match = xt_request_find_match(NFPROTO_BRIDGE, m->u.name, 0); if (IS_ERR(match)) return PTR_ERR(match); - if (match == NULL) - return -ENOENT; m->u.match = match; par->match = match; |