[NETFILTER]: Parenthesize macro parameters
[deliverable/linux.git] / net / ipv4 / netfilter / ip_tables.c
index 271f6a5d3d4c393e8a8f0031afb2b748bb1d585a..f5b66ec18b0d6a9ccff81bb90b7f6c3253fbe735 100644 (file)
@@ -85,7 +85,7 @@ ip_packet_match(const struct iphdr *ip,
        size_t i;
        unsigned long ret;
 
-#define FWINV(bool,invflg) ((bool) ^ !!(ipinfo->invflags & invflg))
+#define FWINV(bool, invflg) ((bool) ^ !!(ipinfo->invflags & (invflg)))
 
        if (FWINV((ip->saddr&ipinfo->smsk.s_addr) != ipinfo->src.s_addr,
                  IPT_INV_SRCIP)
@@ -216,6 +216,7 @@ unconditional(const struct ipt_ip *ip)
                        return 0;
 
        return 1;
+#undef FWINV
 }
 
 #if defined(CONFIG_NETFILTER_XT_TARGET_TRACE) || \
This page took 0.030255 seconds and 5 git commands to generate.