b.a.t.m.a.n.lists.open-mesh.org archive mirror
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] [PATCHv3 net-next 0/2] Exporting IGMP/MLD checking from bridge code
@ 2015-05-02 12:01 Linus Lüssing
  2015-05-02 12:01 ` [B.A.T.M.A.N.] [PATCHv3 net-next 1/2] bridge: multicast: call skb_checksum_{simple_, }validate Linus Lüssing
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Linus Lüssing @ 2015-05-02 12:01 UTC (permalink / raw)
  To: b.a.t.m.a.n, netdev, bridge, linux-kernel, Hideaki YOSHIFUJI,
	Stephen Hemminger, Herbert Xu, Tom Herbert, David S. Miller

The multicast optimizations in batman-adv are yet only usable and
enabled in non-bridged scenarios. To be able to support bridged setups
batman-adv needs to be able to detect IGMP/MLD queriers and reports on
mesh nodes without bridges, too. See the following link for details:

http://www.open-mesh.org/projects/batman-adv/wiki/Multicast-optimizations-listener-reports

To avoid duplicate code between the bridge and batman-adv, the IGMP/MLD
message validation code is moved from the bridge to the IPv4/IPv6 stack.

On the way, some refactoring to increase readability and to iron out
some subtle differences between the IGMP and MLD parsing code is done.

Cheers, Linus


Changelog v3:
* changed interface / restructuring of skb_checksum_trimmed()
* kernel doc for skb_checksum_trimmed()/skb_checksum_maybe_trim()
* fixed a memory leak in the cloned skb case in skb_checksum_trimmed()
* fixed transport_len calculation in __ipv6_mc_check_mld(),
  make it relative to the skb transport header offset
  (= exclude the hop-by-hop option size in transport_len)

Changelog v2:
* Updated copyright for mcast_snoop.c


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-05-04 18:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-02 12:01 [B.A.T.M.A.N.] [PATCHv3 net-next 0/2] Exporting IGMP/MLD checking from bridge code Linus Lüssing
2015-05-02 12:01 ` [B.A.T.M.A.N.] [PATCHv3 net-next 1/2] bridge: multicast: call skb_checksum_{simple_, }validate Linus Lüssing
2015-05-04 16:10   ` Stephen Hemminger
2015-05-02 12:01 ` [B.A.T.M.A.N.] [PATCHv3 net-next 2/2] net: Export IGMP/MLD message validation code Linus Lüssing
2015-05-04 18:49 ` [B.A.T.M.A.N.] [PATCHv3 net-next 0/2] Exporting IGMP/MLD checking from bridge code David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).