Skip to content

Commit 332a065

Browse files
committed
net: ip: Use rate limited version
As this is the hot data path, use a rate limited warning variant. Signed-off-by: Chaitanya Tata <[email protected]>
1 parent 1ae9fc3 commit 332a065

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/net/ip/net_if.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ static bool net_if_tx(struct net_if *iface, struct net_pkt *pkt)
262262
status = net_if_l2(iface)->send(iface, pkt);
263263
net_if_tx_unlock(iface);
264264
if (status < 0) {
265-
NET_WARN("iface %d pkt %p send failure status %d",
265+
NET_WARN_RATELIMITED("iface %d pkt %p send failure status %d",
266266
net_if_get_by_iface(iface), pkt, status);
267267
}
268268

0 commit comments

Comments
 (0)