mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 00:43:08 -04:00
net: ena: reduce the severity of some printouts
Decrease log level of checksum errors as these messages can be triggered remotely by bad packets. Signed-off-by: Netanel Belgazal <netanel@amazon.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
28e33f9d78
commit
cd7aea1875
@@ -966,7 +966,7 @@ static inline void ena_rx_checksum(struct ena_ring *rx_ring,
|
||||
u64_stats_update_begin(&rx_ring->syncp);
|
||||
rx_ring->rx_stats.bad_csum++;
|
||||
u64_stats_update_end(&rx_ring->syncp);
|
||||
netif_err(rx_ring->adapter, rx_err, rx_ring->netdev,
|
||||
netif_dbg(rx_ring->adapter, rx_err, rx_ring->netdev,
|
||||
"RX IPv4 header checksum error\n");
|
||||
return;
|
||||
}
|
||||
@@ -979,7 +979,7 @@ static inline void ena_rx_checksum(struct ena_ring *rx_ring,
|
||||
u64_stats_update_begin(&rx_ring->syncp);
|
||||
rx_ring->rx_stats.bad_csum++;
|
||||
u64_stats_update_end(&rx_ring->syncp);
|
||||
netif_err(rx_ring->adapter, rx_err, rx_ring->netdev,
|
||||
netif_dbg(rx_ring->adapter, rx_err, rx_ring->netdev,
|
||||
"RX L4 checksum error\n");
|
||||
skb->ip_summed = CHECKSUM_NONE;
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user