[Bridge] [PATCHv2 net-next 2/2] net: Export IGMP/MLD message validation code

2015-04-13 Thread Linus Lüssing
With this patch, the IGMP and MLD message validation functions are moved from the bridge code to IPv4/IPv6 multicast files. Some small refactoring was done to enhance readibility and to iron out some differences in behaviour between the IGMP and MLD parsing code (e.g. the skb-cloning of MLD message

[Bridge] [PATCHv2 net-next 1/2] bridge: multicast: call skb_checksum_{simple_, }validate

2015-04-13 Thread Linus Lüssing
Let's use these new, neat helpers. Signed-off-by: Linus Lüssing --- net/bridge/br_multicast.c | 28 1 file changed, 4 insertions(+), 24 deletions(-) diff --git a/net/bridge/br_multicast.c b/net/bridge/br_multicast.c index 4b6722f..b52f4cb 100644 --- a/net/bridge/b

[Bridge] [PATCHv2 net-next 0/2] Exporting IGMP/MLD checking from bridge code

2015-04-13 Thread Linus Lüssing
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.

Re: [Bridge] [PATCH 2/2] net: Export IGMP/MLD message validation code

2015-04-13 Thread David Miller
From: Linus Lüssing Date: Fri, 10 Apr 2015 19:46:39 +0200 > With this patch, the IGMP and MLD message validation functions are moved > from the bridge code to IPv4/IPv6 multicast files. Some small > refactoring was done to enhance readibility and to iron out some > differences in behaviour betwee

Re: [Bridge] [B.A.T.M.A.N.] [PATCH 1/2] bridge: multicast: call skb_checksum_{simple_, }validate

2015-04-13 Thread Rudresh NB
Hi All, I am getting following message if i post to b.a.t.m.a.n@ lists.open-mesh.org. So I am mailing to this group. Our wifi does not support adhoc mode. I am trying batman-adv setup on managed mode. Can anybody tell me the settings fro batman-adv in managed mode/STA mode? Regards,

Re: [Bridge] [PATCH 2/2] net: Export IGMP/MLD message validation code

2015-04-13 Thread YOSHIFUJI Hideaki/吉藤英明
Linus Lüssing wrote: > On Fri, Apr 10, 2015 at 07:46:39PM +0200, Linus Lüssing wrote: >> diff --git a/net/ipv6/mcast_snoop.c b/net/ipv6/mcast_snoop.c >> new file mode 100644 >> index 000..95b34c0 >> --- /dev/null >> +++ b/net/ipv6/mcast_snoop.c >> @@ -0,0 +1,198 @@ >> +/* Copyright (C) 2015: Li