lkml.org 
[lkml]   [2015]   [May]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCHv3 net-next 0/2] Exporting IGMP/MLD checking from bridge code
Date
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



\
 
 \ /
  Last update: 2015-05-02 14:41    [W:1.009 / U:0.392 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site