Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3b7b4f99 authored by Ravi Gummadidala's avatar Ravi Gummadidala
Browse files

msm: rmnet_ipa: suppress excess logging



Rate limit the error message logged when RX packets are
enqueued faster than the kernel can process them. This is
to avoid watchdog bite.

Change-Id: Icad1d5c0b52620aca1291a7b104d50f6d519be1c
Signed-off-by: default avatarRavi Gummadidala <rgummadi@codeaurora.org>
parent f8fa637b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1043,7 +1043,8 @@ static void apps_ipa_packet_receive_notify(void *priv,

	result = netif_rx(skb);
	if (result)	{
		IPAWANERR("fail on netif_rx\n");
		pr_err_ratelimited(DEV_NAME " %s:%d fail on netif_rx\n",
				__func__, __LINE__);
		dev->stats.rx_dropped++;
	}
	dev->stats.rx_packets++;