Merge branch 'do_once_lite'
authorDavid S. Miller <davem@davemloft.net>
Mon, 28 Jun 2021 22:54:57 +0000 (15:54 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jun 2021 22:54:57 +0000 (15:54 -0700)
commit84fe73996c2e7407006002ef92d7354a56b69fed
tree761f56700ba628e5b16ad2449584b713971ac8cd
parentb74ef9f9cb91fc86c642af965b7598c4df1c9922
parent127d7355abb355b05ff4b42d6e18cc97aa9d1d11
Merge branch 'do_once_lite'

Tanner Love says:

====================
net: update netdev_rx_csum_fault() print dump only once

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.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>