]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/netfilter/xt_policy.c
[NETFILTER] xt_policy.c: kill some bloat
[linux-2.6-omap-h63xx.git] / net / netfilter / xt_policy.c
index 5a017b8b72d0f97465bed449dedca1d50aa5e2ca..45731ca15b7d55f124c780328766afaea9813d1b 100644 (file)
@@ -33,12 +33,12 @@ xt_addr_cmp(const union xt_policy_addr *a1, const union xt_policy_addr *m,
        return false;
 }
 
-static inline bool
+static bool
 match_xfrm_state(const struct xfrm_state *x, const struct xt_policy_elem *e,
                 unsigned short family)
 {
 #define MATCH_ADDR(x,y,z)      (!e->match.x ||                        \
-                                (xt_addr_cmp(&e->x, &e->y, z, family) \
+                                (xt_addr_cmp(&e->x, &e->y, (z), family) \
                                  ^ e->invert.x))
 #define MATCH(x,y)             (!e->match.x || ((e->x == (y)) ^ e->invert.x))