mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 22:21:21 +00: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:
parent
28e33f9d78
commit
cd7aea1875
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue