Skip to content

net: use DEV_STATS_xxx() helpers in virtio_net and l2tp_eth

Eric Dumazet 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 Latest3 patches 2 repliesApplied 3/3
  2. v13 patches 3 repliesSuperseded

Patches in v2 All 3 applied

#Subject and filesSizeRepliesApplied
1/3net: add DEV_STATS_READ() helperdrivers/net/macsec.c include/linux/netdevice.h+4 -30 repliesApplied
2/3virtio_net: avoid data-races on dev->stats fieldsdrivers/net/virtio_net.c+15 -150 repliesApplied
3/3net: l2tp_eth: use generic dev->stats fieldsnet/l2tp/l2tp_eth.c+12 -220 repliesApplied

Reviews trailers per patch

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

PatchXuan ZhuoSimon HormanPrzemek Kitszel
SeriesR-b R-b
1/3
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 net-next 0/3] net: use DEV_STATS_xxx() helpers in virtio_net and l2tp_eth

Inspired by another (minor) KCSAN syzbot report. Both virtio_net and l2tp_eth can use DEV_STATS_xxx() helpers.

v2: removed unused @priv variable (Simon, kernel build bot)

Eric Dumazet (3):
net: add DEV_STATS_READ() helper
virtio_net: avoid data-races on dev->stats fields
net: l2tp_eth: use generic dev->stats fields

 drivers/net/macsec.c      |  6 +++---
 drivers/net/virtio_net.c  | 30 +++++++++++++++---------------
 include/linux/netdevice.h |  1 +
 net/l2tp/l2tp_eth.c       | 34 ++++++++++++----------------------
 4 files changed, 31 insertions(+), 40 deletions(-)
Signature · 1 line
2.42.0.459.ge4e396fd5e-goog