Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751834AbbEBMBQ (ORCPT ); Sat, 2 May 2015 08:01:16 -0400 Received: from mail.passe0815.de ([188.40.49.9]:57009 "EHLO mail.passe0815.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750920AbbEBMBP (ORCPT ); Sat, 2 May 2015 08:01:15 -0400 From: =?UTF-8?q?Linus=20L=C3=BCssing?= To: b.a.t.m.a.n@lists.open-mesh.org, netdev@vger.kernel.org, bridge@lists.linux-foundation.org, linux-kernel@vger.kernel.org, Hideaki YOSHIFUJI , Stephen Hemminger , Herbert Xu , Tom Herbert , "David S. Miller" Subject: [PATCHv3 net-next 0/2] Exporting IGMP/MLD checking from bridge code Date: Sat, 2 May 2015 14:01:05 +0200 Message-Id: <1430568067-6912-1-git-send-email-linus.luessing@c0d3.blue> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-GPG-Mailgate: Not encrypted, public key not found Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1357 Lines: 32 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/