Re: [PATCHv2 2/2] bridge: multicast: enable snooping on general queries only

From: Hannes Frederic Sowa
Date: Mon Mar 10 2014 - 18:56:40 EST


On Mon, Mar 10, 2014 at 10:25:25PM +0100, Linus LÃssing wrote:
> br_multicast_query_received(br, port, &br->ip6_querier,
> - !ipv6_addr_any(&ip6h->saddr), max_delay);
> + !ipv6_addr_any(&ip6h->saddr),
> + is_general_query, max_delay);

Just a small nit, maybe for a later patch:

After your change 6565b9eeef194a ("bridge: multicast: add sanity check
for query source addresses"), which is still in -net only, we could
replace !ipv6_addr_any(&ip6h->saddr) with '1'?

Greetings,

Hannes

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/