net: update netdev_rx_csum_fault() print dump only once
authorTanner Love <tannerlove@google.com>
Mon, 28 Jun 2021 13:50:07 +0000 (09:50 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jun 2021 22:54:57 +0000 (15:54 -0700)
commit127d7355abb355b05ff4b42d6e18cc97aa9d1d11
tree761f56700ba628e5b16ad2449584b713971ac8cd
parenta358f40600b3b39ae3906b6118625b99c0aa7a34
net: update netdev_rx_csum_fault() print dump only once

Printing this stack dump multiple times does not provide additional
useful information, and consumes time in the data path. Printing once
is sufficient.

Changes
  v2: Format indentation properly

Signed-off-by: Tanner Love <tannerlove@google.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Acked-by: Mahesh Bandewar <maheshb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c