From: holger@xxxxxxxxxxxxxxxx Date: Tue, 19 Mar 2013 15:14:44 +0100 > + if (par->family == NFPROTO_IPV4) > + queue = (((u64) hash_v4(skb) * info->queues_total) >> > + 32) + queue; > #if IS_ENABLED(CONFIG_IP6_NF_IPTABLES) > - else if (par->family == NFPROTO_IPV6) > - queue = (((u64) hash_v6(skb) * info->queues_total) >> > - 32) + queue; > + else if (par->family == NFPROTO_IPV6) > + queue = (((u64) hash_v6(skb) * info->queues_total) >> > + 32) + queue; > #endif Similarly, add a helper function. Since there are so many similar call sites, perhaps put it into a common header file. -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html