mbox series

[net,0/2] bridge: mrp: Fix br_mrp_port_switchdev_set_state

Message ID 20210206214734.1577849-1-horatiu.vultur@microchip.com (mailing list archive)
Headers show
Series bridge: mrp: Fix br_mrp_port_switchdev_set_state | expand

Message

Horatiu Vultur Feb. 6, 2021, 9:47 p.m. UTC
Based on the discussion here[1], there was a problem with the function
br_mrp_port_switchdev_set_state. The problem was that it was called
both with BR_STATE* and BR_MRP_PORT_STATE* types. This patch series
fixes this issue and removes SWITCHDEV_ATTR_ID_MRP_PORT_STAT because
is not used anymore.

[1] https://www.spinics.net/lists/netdev/msg714816.html

Horatiu Vultur (2):
  bridge: mrp: Fix the usage of br_mrp_port_switchdev_set_state
  switchdev: mrp: Remove SWITCHDEV_ATTR_ID_MRP_PORT_STAT

 include/net/switchdev.h       | 2 --
 net/bridge/br_mrp.c           | 9 ++++++---
 net/bridge/br_mrp_switchdev.c | 7 +++----
 net/bridge/br_private_mrp.h   | 3 +--
 4 files changed, 10 insertions(+), 11 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org Feb. 9, 2021, 12:50 a.m. UTC | #1
Hello:

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

On Sat, 6 Feb 2021 22:47:32 +0100 you wrote:
> Based on the discussion here[1], there was a problem with the function
> br_mrp_port_switchdev_set_state. The problem was that it was called
> both with BR_STATE* and BR_MRP_PORT_STATE* types. This patch series
> fixes this issue and removes SWITCHDEV_ATTR_ID_MRP_PORT_STAT because
> is not used anymore.
> 
> [1] https://www.spinics.net/lists/netdev/msg714816.html
> 
> [...]

Here is the summary with links:
  - [net,1/2] bridge: mrp: Fix the usage of br_mrp_port_switchdev_set_state
    https://git.kernel.org/netdev/net/c/b2bdba1cbc84
  - [net,2/2] switchdev: mrp: Remove SWITCHDEV_ATTR_ID_MRP_PORT_STAT
    https://git.kernel.org/netdev/net/c/059d2a100498

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html