Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6
[linux-2.6-block.git] / net / ipv4 / netfilter.c
index db52c0cb0c11a10b53a8c94c7c35f4b93c062543..c14623fc4d5eab4f9203580e67a29161583358fa 100644 (file)
@@ -155,10 +155,10 @@ static int nf_ip_reroute(struct sk_buff *skb,
        if (entry->hook == NF_INET_LOCAL_OUT) {
                const struct iphdr *iph = ip_hdr(skb);
 
-               if (!(iph->tos == rt_info->tos
-                     && skb->mark == rt_info->mark
-                     && iph->daddr == rt_info->daddr
-                     && iph->saddr == rt_info->saddr))
+               if (!(iph->tos == rt_info->tos &&
+                     skb->mark == rt_info->mark &&
+                     iph->daddr == rt_info->daddr &&
+                     iph->saddr == rt_info->saddr))
                        return ip_route_me_harder(skb, RTN_UNSPEC);
        }
        return 0;