X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=net%2Fbridge%2Fnetfilter%2Febtables.c;h=f5c11bbe27db651dfd66f6cb8e7dc5b77b88a511;hb=f20fbc0717f9f007c94b2641134b19228d0ce9ed;hp=dd7133216c9c532054da010596b9de200adbc419;hpb=8cb2a7d5667ab9a9c2fdd356357b85b63b320901;p=mirror_ubuntu-artful-kernel.git diff --git a/net/bridge/netfilter/ebtables.c b/net/bridge/netfilter/ebtables.c index dd7133216c9c..f5c11bbe27db 100644 --- a/net/bridge/netfilter/ebtables.c +++ b/net/bridge/netfilter/ebtables.c @@ -368,6 +368,8 @@ ebt_check_match(struct ebt_entry_match *m, struct xt_mtchk_param *par, match = xt_find_match(NFPROTO_BRIDGE, m->u.name, 0); if (IS_ERR(match) || match->family != NFPROTO_BRIDGE) { + if (!IS_ERR(match)) + module_put(match->me); request_module("ebt_%s", m->u.name); match = xt_find_match(NFPROTO_BRIDGE, m->u.name, 0); }