[Bridge] [PATCH net-next 0/6] net: bridge: mcast: dump querier state

patchwork-bot+netdevbpf at kernel.org patchwork-bot+netdevbpf at kernel.org
Sat Aug 14 13:10:06 UTC 2021


This series was applied to netdev/net-next.git (refs/heads/master):

On Fri, 13 Aug 2021 17:59:56 +0300 you wrote:
> From: Nikolay Aleksandrov <nikolay at nvidia.com>
> Hi,
> This set adds the ability to dump the current multicast querier state.
> This is extremely useful when debugging multicast issues, we've had
> many cases of unexpected queriers causing strange behaviour and mcast
> test failures. The first patch changes the querier struct to record
> a port device's ifindex instead of a pointer to the port itself so we
> can later retrieve it, I chose this way because it's much simpler
> and doesn't require us to do querier port ref counting, it is best
> effort anyway. Then patch 02 makes the querier address/port updates
> consistent via a combination of multicast_lock and seqcount, so readers
> can only use seqcount to get a consistent snapshot of address and port.
> Patch 03 is a minor cleanup in preparation for the dump support, it
> consolidates IPv4 and IPv6 querier selection paths as they share most of
> the logic (except address comparisons of course). Finally the last three
> patches add the new querier state dumping support, for the bridge's
> global multicast context we embed the BRIDGE_QUERIER_xxx attributes
> into IFLA_BR_MCAST_QUERIER_STATE and for the per-vlan global mcast
> contexts we embed them into BRIDGE_VLANDB_GOPTS_MCAST_QUERIER_STATE.
> [...]

Here is the summary with links:
  - [net-next,1/6] net: bridge: mcast: record querier port device ifindex instead of pointer
  - [net-next,2/6] net: bridge: mcast: make sure querier port/address updates are consistent
  - [net-next,3/6] net: bridge: mcast: consolidate querier selection for ipv4 and ipv6
  - [net-next,4/6] net: bridge: mcast: dump ipv4 querier state
  - [net-next,5/6] net: bridge: mcast: dump ipv6 querier state
  - [net-next,6/6] net: bridge: vlan: dump mcast ctx querier state

You are awesome, thank you!
Deet-doot-dot, I am a bot.

More information about the Bridge mailing list