Skip to content

net: bridge: fix vlan range dumps starting with a PVID

Nikolay Aleksandrov bridge netdev 1 version Applied

Status from this message: This series was applied to netdev/net.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2net: bridge: vlan: fix vlan range dumps starting with pvidnet/bridge/br_netlink_tunnel.c net/bridge/br_private.h net/bridge/br_vlan.c +1 more+13 -91 replyApplied
2/2selftests: net: bridge: test ranges with PVID VLANtools/testing/selftests/net/bridge_vlan_dump.sh+23 -01 replyApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchIdo Schimmel
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net 0/2] net: bridge: fix vlan range dumps starting with a PVID

Hi,
Patch 01 fixes a bug that can skip dumping VLANs which a part of a range starting with a PVID VLAN and share the same flags. PVID VLAN should be always on its own. Patch 02 adds a selftest for this case. More information can be found in the respective patches.

Thanks,
Nik

Nikolay Aleksandrov (2):
net: bridge: vlan: fix vlan range dumps starting with pvid
selftests: net: bridge: test ranges with PVID VLAN

 net/bridge/br_netlink_tunnel.c                |  3 ++-
 net/bridge/br_private.h                       |  6 +++--
 net/bridge/br_vlan.c                          | 10 ++++----
 net/bridge/br_vlan_options.c                  |  3 +--
 .../testing/selftests/net/bridge_vlan_dump.sh | 23 +++++++++++++++++++
 5 files changed, 36 insertions(+), 9 deletions(-)
Signature · 1 line
2.47.3