diff --git a/net/core/dev.c b/net/core/dev.c index 37c881070963aec33f184dac0341f7862877ca3b..9066c874e273b6f3bced25f16b876cd5b85e23f3 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -1259,6 +1259,8 @@ int dev_queue_xmit(struct sk_buff *skb) if (skb_checksum_help(skb, 0)) goto out_kfree_skb; + spin_lock_prefetch(&dev->queue_lock); + /* Disable soft irqs for various locks below. Also * stops preemption for RCU. */