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

Commit fb46d6ac authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "net: Warn for cloned packets in ingress path on SMP systems only"

parents a88c7328 b8226273
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -3418,13 +3418,13 @@ static int netif_rx_internal(struct sk_buff *skb)
{
	int ret;

	WARN_ONCE(skb_cloned(skb), "Cloned packet from dev %s\n",
		  skb->dev->name);

	net_timestamp_check(netdev_tstamp_prequeue, skb);

	trace_netif_rx(skb);
#ifdef CONFIG_RPS
	WARN_ONCE(skb_cloned(skb), "Cloned packet from dev %s\n",
		  skb->dev->name);

	if (static_key_false(&rps_needed)) {
		struct rps_dev_flow voidflow, *rflow = &voidflow;
		int cpu;