]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5dc9d0a011415c135570d92ee5b674f8c08b00ce
tree761f56700ba628e5b16ad2449584b713971ac8cd
parentd771386e410200df01231a2b2970e7116fb6121b
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