[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20141105.221132.564742208038564677.davem@davemloft.net>
Date: Wed, 05 Nov 2014 22:11:32 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: raj@...dy.usa.hp.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH v2 net-next] udp: Increment UDP_MIB_IGNOREDMULTI for
arriving unmatched multicasts
From: raj@...dy.usa.hp.com (Rick Jones)
Date: Tue, 4 Nov 2014 15:47:10 -0800 (PST)
> @@ -1656,6 +1657,7 @@ static int __udp4_lib_mcast_deliver(struct net *net, struct sk_buff *skb,
> int dif = skb->dev->ifindex;
> unsigned int count = 0, offset = offsetof(typeof(*sk), sk_nulls_node);
> unsigned int hash2 = 0, hash2_any = 0, use_hash2 = (hslot->count > 10);
> + unsigned int inner_flushed = 0;
>
> if (use_hash2) {
> hash2_any = udp4_portaddr_hash(net, htonl(INADDR_ANY), hnum) &
...
> @@ -781,6 +781,7 @@ static int __udp6_lib_mcast_deliver(struct net *net, struct sk_buff *skb,
> int dif = inet6_iif(skb);
> unsigned int count = 0, offset = offsetof(typeof(*sk), sk_nulls_node);
> unsigned int hash2 = 0, hash2_any = 0, use_hash2 = (hslot->count > 10);
> + int inner_flushed = 0;
Please use bool/true/false for inner_flushed in these two functions.
Thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists