public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net 0/2] bridge: mrp: Fix br_mrp_port_switchdev_set_state
@ 2021-02-06 21:47 Horatiu Vultur
  2021-02-06 21:47 ` [PATCH net 1/2] bridge: mrp: Fix the usage of br_mrp_port_switchdev_set_state Horatiu Vultur
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Horatiu Vultur @ 2021-02-06 21:47 UTC (permalink / raw)
  To: jiri, ivecera, davem, kuba, roopa, nikolay, rasmus.villemoes,
	netdev, linux-kernel, bridge
  Cc: Horatiu Vultur

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(-)

-- 
2.27.0


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

end of thread, other threads:[~2021-02-09  7:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-06 21:47 [PATCH net 0/2] bridge: mrp: Fix br_mrp_port_switchdev_set_state Horatiu Vultur
2021-02-06 21:47 ` [PATCH net 1/2] bridge: mrp: Fix the usage of br_mrp_port_switchdev_set_state Horatiu Vultur
2021-02-09  7:37   ` Rasmus Villemoes
2021-02-06 21:47 ` [PATCH net 2/2] switchdev: mrp: Remove SWITCHDEV_ATTR_ID_MRP_PORT_STAT Horatiu Vultur
2021-02-09  7:38   ` Rasmus Villemoes
2021-02-09  0:50 ` [PATCH net 0/2] bridge: mrp: Fix br_mrp_port_switchdev_set_state patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox