Skip to content

net: update netdev_rx_csum_fault() print dump only once

Tanner Love linux-arch lkml netdev 3 versions – Applied

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 2 repliesApplied 2/2
  2. v22 patches 1 replySuperseded
  3. v13 patches 1 replySuperseded

Patches in v3 All 2 applied

#Subject and filesSizeRepliesApplied
1/2once: implement DO_ONCE_LITE for non-fast-path "do once" functionalityfs/xfs/xfs_message.h include/asm-generic/bug.h include/linux/once_lite.h +2 more+40 -702 repliesApplied
2/2net: update netdev_rx_csum_fault() print dump only oncenet/core/dev.c+9 -50 repliesApplied

Reviews trailers per patch

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

PatchEric DumazetMahesh BandewarSteven Rostedt (VMware)Petr Mladek
1/2A-b A-b A-b A-b
2/2A-b A-b

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

Read the v3 thread

Cover letter [PATCH net-next v3 0/2] net: update netdev_rx_csum_fault() print dump only once

From: Tanner Love <[email protected]>

First patch implements DO_ONCE_LITE to abstract uses of the ".data.once" trick. It is defined in its own, new header file -- rather than alongside the existing DO_ONCE in include/linux/once.h -- because include/linux/once.h includes include/linux/jump_label.h, and this causes the build to break for some architectures if include/linux/once.h is included in include/linux/printk.h or include/asm-generic/bug.h.

Second patch uses DO_ONCE_LITE in netdev_rx_csum_fault to print dump only once.

Tanner Love (2):
once: implement DO_ONCE_LITE for non-fast-path "do once" functionality
net: update netdev_rx_csum_fault() print dump only once

 fs/xfs/xfs_message.h      | 13 +++----------
 include/asm-generic/bug.h | 37 +++++++------------------------------
 include/linux/once_lite.h | 24 ++++++++++++++++++++++++
 include/linux/printk.h    | 23 +++--------------------
 kernel/trace/trace.h      | 13 +++----------
 net/core/dev.c            | 14 +++++++++-----
 6 files changed, 49 insertions(+), 75 deletions(-)
 create mode 100644 include/linux/once_lite.h
Signature · 1 line
2.32.0.93.g670b81a890-goog