netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv4 net-next 0/4] bridge: multicast snooping patches / exports
@ 2014-06-07 16:26 Linus Lüssing
  2014-06-07 16:26 ` [PATCHv4 net-next 1/4] bridge: rename struct bridge_mcast_query/querier Linus Lüssing
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Linus Lüssing @ 2014-06-07 16:26 UTC (permalink / raw)
  To: netdev
  Cc: b.a.t.m.a.n, Herbert Xu, bridge, linux-kernel, Stephen Hemminger,
	Linus Lüssing, David S. Miller

The first patch is simply a cosmetic patch. So far I (and maybe others
too?) have been regularly confusing these two structs, therefore I'd
suggest renaming them and therefore making the follow-up patches easier
to understand and nicer to fit in.

The second patch fixes a minor issue, but probably not worth for stable.


On the other hand the first two patches are also preparations for the
third and fourth patch:

These two patches are exporting functionality needed to marry the bridge
multicast snooping with the batman-adv multicast optimizations recently
added for the 3.15 kernel, allowing to use these optimzations in common
setups having a bridge on top of e.g. bat0, too. So far these bridged
setups would fall back to simple flooding through the batman-adv mesh
network for any multicast packet entering bat0.

More information about the batman-adv multicast optimizations currently
implemented can be found here:

http://www.open-mesh.org/projects/batman-adv/wiki/Basic-multicast-optimizations

The integration on the batman-adv side could afterwards look like this,
for instance:

http://git.open-mesh.org/batman-adv.git/commitdiff/576b59dd3e34737c702e548b21fa72059262f796?hp=f95ce7131746c65fbcdffcf2089cab59e2c2f7ac


Changes in v4:
 - merged header postings from all previous patchset versions

Changes in v3:
 - use EXPORT_SYMBOL_GPL() instead of EXPORT_SYMBOL()

Changes in v2:
 - fix a nasty typo in PATCH 1/4, br_multicast_update_query_timer():
   "br->multicast_query_interval" vs. "br->multicast_querier_interval"
   => this accidentally reduced the other querier present timer 
      from 255 to 125 seconds
 - fix a typo in PATCH 2/4, br_ip{4,6}_multicast_query():
   ntohs(ETH_P_{IP,IPV6}) vs. htons(ETH_P_{IP,IPV6})
 - add missing ntohl()s before address comparison in PATCH 2/4,
   br_ip4_multicast_select_querier() (thanks David!)

Cheers, Linus

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

end of thread, other threads:[~2014-06-11  6:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-07 16:26 [PATCHv4 net-next 0/4] bridge: multicast snooping patches / exports Linus Lüssing
2014-06-07 16:26 ` [PATCHv4 net-next 1/4] bridge: rename struct bridge_mcast_query/querier Linus Lüssing
2014-06-07 16:26 ` [PATCHv4 net-next 2/4] bridge: adhere to querier election mechanism specified by RFCs Linus Lüssing
2014-06-07 16:26 ` [PATCHv4 net-next 3/4] bridge: add export of multicast database adjacent to net_dev Linus Lüssing
2014-06-07 16:26 ` [PATCHv4 net-next 4/4] bridge: memorize and export selected IGMP/MLD querier port Linus Lüssing
2014-06-11  6:51 ` [PATCHv4 net-next 0/4] bridge: multicast snooping patches / exports 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).