Skip to content

net: bridge: vlan: minor cleanups and annotations

Nikolay Aleksandrov bridge netdev 2 versions – Applied

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 patches 2 repliesApplied 9/9
  2. v19 patches 1 replySuperseded

Patches in v2 All 9 applied

#Subject and filesSizeRepliesApplied
1/9net: bridge: vlan: drop legacy memory barriersnet/bridge/br_private.h net/bridge/br_vlan.c+0 -31 replyApplied
2/9net: bridge: vlan: annotate lockless pvid usenet/bridge/br_private.h net/bridge/br_vlan.c+3 -30 repliesApplied
3/9net: bridge: mst: use br_get_pvid helpernet/bridge/br_mst.c+1 -10 repliesApplied
4/9net: bridge: vlan: annotate lockless vlan flags usenet/bridge/br_multicast.c net/bridge/br_netlink.c net/bridge/br_private.h +1 more+17 -140 repliesApplied
5/9net: bridge: vlan: annotate lockless use of private flagsnet/bridge/br_arp_nd_proxy.c net/bridge/br_multicast.c net/bridge/br_private.h +2 more+25 -140 repliesApplied
6/9net: bridge: vlan: annotate lockless use of num_vlansnet/bridge/br_netlink.c net/bridge/br_vlan.c+7 -70 repliesApplied
7/9net: bridge: vlan: annotate lockless use of mstinet/bridge/br_mst.c+6 -40 repliesApplied
8/9net: bridge: vlan: add missing tinfo.tunnel_id annotationsnet/bridge/br_netlink_tunnel.c net/bridge/br_vlan_tunnel.c+9 -70 repliesApplied
9/9net: bridge: use br_vlan_get_state to get vlan statenet/bridge/br_mst.c net/bridge/br_private.h net/bridge/br_vlan.c +1 more+17 -150 repliesApplied

Reviews trailers per patch

None of the 9 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchIdo Schimmel
SeriesR-b
1/9
2/9
3/9
4/9
5/9
6/9
7/9
8/9
9/9

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

Read the v2 thread

Cover letter [PATCH net-next v2 0/9] net: bridge: vlan: minor cleanups and annotations

Hi,
In preparation for a complete vlan fast-path re-work, this set cleans up a few minor things - removing legacy code barriers that don't help,
annotating lockless accesses and using proper helpers.
No functional changes are intended. Sashiko will find many pre-existing problems, none of them are related to this set. I will try to fix everything pre-existing separately in -net, there will probably be a few critical items. So if there are missed places to annotate, or if there're actual functional changes, these obviously should be addressed in this set.

v2: fix a bit longer lines in patch 8 (were 83 chars)
fix patch 9, many places were missed, use br_vlan_get_state consistently (Ido)

Thanks,
Nik

Nikolay Aleksandrov (9):
net: bridge: vlan: drop legacy memory barriers
net: bridge: vlan: annotate lockless pvid use
net: bridge: mst: use br_get_pvid helper
net: bridge: vlan: annotate lockless vlan flags use
net: bridge: vlan: annotate lockless use of private flags
net: bridge: vlan: annotate lockless use of num_vlans
net: bridge: vlan: annotate lockless use of msti
net: bridge: vlan: add missing tinfo.tunnel_id annotations
net: bridge: use br_vlan_get_state to get vlan state

 net/bridge/br_arp_nd_proxy.c   |  6 ++++--
 net/bridge/br_mst.c            | 19 ++++++++++-------
 net/bridge/br_multicast.c      | 18 ++++++++++------
 net/bridge/br_netlink.c        | 10 ++++-----
 net/bridge/br_netlink_tunnel.c | 14 ++++++------
 net/bridge/br_private.h        | 37 +++++++++++++++++---------------
 net/bridge/br_vlan.c           | 39 +++++++++++++++++-----------------
 net/bridge/br_vlan_options.c   |  8 ++++---
 net/bridge/br_vlan_tunnel.c    |  2 +-
 9 files changed, 85 insertions(+), 68 deletions(-)
Signature · 1 line
2.47.3