[NETFILTER]: Parenthesize macro parameters
[deliverable/linux.git] / net / ipv4 / netfilter / arp_tables.c
index ad2da6db0e2628a33c3348267c7c46912d4eaf9f..b4a810c28ac85c3f79e6e350ea985b8a85ba380d 100644 (file)
@@ -84,7 +84,7 @@ static inline int arp_packet_match(const struct arphdr *arphdr,
        __be32 src_ipaddr, tgt_ipaddr;
        int i, ret;
 
-#define FWINV(bool,invflg) ((bool) ^ !!(arpinfo->invflags & invflg))
+#define FWINV(bool, invflg) ((bool) ^ !!(arpinfo->invflags & (invflg)))
 
        if (FWINV((arphdr->ar_op & arpinfo->arpop_mask) != arpinfo->arpop,
                  ARPT_INV_ARPOP)) {
@@ -180,6 +180,7 @@ static inline int arp_packet_match(const struct arphdr *arphdr,
        }
 
        return 1;
+#undef FWINV
 }
 
 static inline int arp_checkentry(const struct arpt_arp *arp)
This page took 0.030019 seconds and 5 git commands to generate.