]> err.no Git - linux-2.6/blobdiff - net/netfilter/xt_conntrack.c
[NETFILTER]: Parenthesize macro parameters
[linux-2.6] / net / netfilter / xt_conntrack.c
index 8c1d448c973e6f695cabf97242603810e2daf19b..3f8bfbaa9b1986009fb680f9c8c8c3d181479711 100644 (file)
@@ -32,7 +32,7 @@ conntrack_mt(const struct sk_buff *skb, const struct net_device *in,
 
        ct = nf_ct_get(skb, &ctinfo);
 
-#define FWINV(bool,invflg) ((bool) ^ !!(sinfo->invflags & invflg))
+#define FWINV(bool, invflg) ((bool) ^ !!(sinfo->invflags & (invflg)))
 
        if (ct == &nf_conntrack_untracked)
                statebit = XT_CONNTRACK_STATE_UNTRACKED;
@@ -108,6 +108,7 @@ conntrack_mt(const struct sk_buff *skb, const struct net_device *in,
                        return false;
        }
        return true;
+#undef FWINV
 }
 
 static bool