diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/core/dev.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index 37c881070963..9066c874e273 100644 --- a/net/core/dev.c +++ b/net/core/dev.c | |||
@@ -1259,6 +1259,8 @@ int dev_queue_xmit(struct sk_buff *skb) | |||
1259 | if (skb_checksum_help(skb, 0)) | 1259 | if (skb_checksum_help(skb, 0)) |
1260 | goto out_kfree_skb; | 1260 | goto out_kfree_skb; |
1261 | 1261 | ||
1262 | spin_lock_prefetch(&dev->queue_lock); | ||
1263 | |||
1262 | /* Disable soft irqs for various locks below. Also | 1264 | /* Disable soft irqs for various locks below. Also |
1263 | * stops preemption for RCU. | 1265 | * stops preemption for RCU. |
1264 | */ | 1266 | */ |