public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: "Linus Lüssing" <linus.luessing@c0d3.blue>
To: The list for a Better Approach To Mobile Ad-hoc Networking
	<b.a.t.m.a.n@lists.open-mesh.org>
Subject: Re: [B.A.T.M.A.N.] [PATCHv14 0/4] Multicast optimizations for bridges
Date: Tue, 10 May 2016 02:03:11 +0200	[thread overview]
Message-ID: <20160510000311.GJ5816@otheros> (raw)
In-Reply-To: <1811882.4NqUN7GsV2@sven-edge>

On Thu, May 05, 2016 at 11:15:28PM +0200, Sven Eckelmann wrote:
> On Thursday 05 May 2016 17:07:01 Linus Lüssing wrote:
> > This patchset can be found in the current linus/multicast-bridge
> > branch.
> 
> Please check the attached results of the daily build test scripts.

Thanks Sven!

Just wanted to note that there seem to be some false positives in
there.

"[net/batman-adv/multicast.c:1181]: (style) The function 'batadv_mcast_flags_seq_print_text' is never used."
-> used in debugfs.c


Also the header suggestions seem a bit unreliable to me,
the following removals are false positives, I think:

* header removals in compat-sources/*
  -> breaks compiling

* linux/icmp6.h in multicast.c
  -> icmp6_hdr()
* linux/ipv6.h in multicast.c
  -> ipv6_hdr()

* net/addrconf.h in multicast.c
  -> ipv6_mc_check_mld()
  -> ipv6_addr_is_ll_all_nodes()
* net/ip.h in multicast.c
  -> ip_eth_mc_map()
* net/ipv6.h in multicast.c
  -> IPV6_ADDR_MC_SCOPE
  -> IPV6_ADDR_SCOPE_LINKLOCAL

Moving the following includes upwards seems unnecessary:
* linux/if_bridge.h in multicast.c
* linux/igmp.h in multicast.c

The following removals seem correct \o/:
* linux/in6.h in multicast.c
* net/mld.h in multicast.c

Additionally, the following include seems to be missing but wasn't
caught by the scripts:
* net/if_inet6.h in multicast.c
  -> ipv6_eth_mc_map()


Let me know whether this seems about right. Or whether I am
missing #includes in my->head :).

Regards, Linus


PS: I also do not understand the sparse complaints regarding
ip_eth_mc_map(). The according include is currently there, seems
to compile fine.

  reply	other threads:[~2016-05-10  0:03 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-05 16:07 [B.A.T.M.A.N.] [PATCHv14 0/4] Multicast optimizations for bridges Linus Lüssing
2016-05-05 16:07 ` [B.A.T.M.A.N.] [PATCHv14 1/4] batman-adv: Always flood IGMP/MLD reports Linus Lüssing
2016-05-08 13:50   ` Marek Lindner
2016-05-05 16:07 ` [B.A.T.M.A.N.] [PATCHv14 2/4] batman-adv: Add multicast optimization support for bridged setups Linus Lüssing
2016-05-05 16:07 ` [B.A.T.M.A.N.] [PATCHv14 3/4] batman-adv: Adding logging of mcast flag changes Linus Lüssing
2016-05-05 17:38   ` Marek Lindner
2016-05-05 16:07 ` [B.A.T.M.A.N.] [PATCHv14 4/4] batman-adv: Add debugfs table for mcast flags Linus Lüssing
2016-05-05 17:38   ` Marek Lindner
2016-05-05 21:15 ` [B.A.T.M.A.N.] [PATCHv14 0/4] Multicast optimizations for bridges Sven Eckelmann
2016-05-10  0:03   ` Linus Lüssing [this message]
2016-05-10  0:16     ` Linus Lüssing
2016-05-10  0:30     ` Linus Lüssing
2016-05-10  7:43     ` Sven Eckelmann
2016-05-10  9:11       ` Sven Eckelmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160510000311.GJ5816@otheros \
    --to=linus.luessing@c0d3.blue \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox