]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - net/bridge/netfilter/ebt_nflog.c
netfilter: xtables: change xt_target.checkentry return type
[mirror_ubuntu-jammy-kernel.git] / net / bridge / netfilter / ebt_nflog.c
index 2a63d996dd4e149f169324483e1fd7753fec3d34..1f2b7bbdde73423c98567423e2935bcdbbbf5bd3 100644 (file)
@@ -35,7 +35,7 @@ ebt_nflog_tg(struct sk_buff *skb, const struct xt_target_param *par)
        return EBT_CONTINUE;
 }
 
-static bool ebt_nflog_tg_check(const struct xt_tgchk_param *par)
+static int ebt_nflog_tg_check(const struct xt_tgchk_param *par)
 {
        struct ebt_nflog_info *info = par->targinfo;
 
@@ -51,7 +51,7 @@ static struct xt_target ebt_nflog_tg_reg __read_mostly = {
        .family     = NFPROTO_BRIDGE,
        .target     = ebt_nflog_tg,
        .checkentry = ebt_nflog_tg_check,
-       .targetsize = XT_ALIGN(sizeof(struct ebt_nflog_info)),
+       .targetsize = sizeof(struct ebt_nflog_info),
        .me         = THIS_MODULE,
 };