aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/dev.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-06-08 14:31:16 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-08 14:31:16 -0400
commit3f17ea6dea8ba5668873afa54628a91aaa3fb1c0 (patch)
treeafbeb2accd4c2199ddd705ae943995b143a0af02 /net/core/dev.c
parent1860e379875dfe7271c649058aeddffe5afd9d0d (diff)
parent1a5700bc2d10cd379a795fd2bb377a190af5acd4 (diff)
Merge branch 'next' (accumulated 3.16 merge window patches) into master
Now that 3.15 is released, this merges the 'next' branch into 'master', bringing us to the normal situation where my 'master' branch is the merge window. * accumulated work in next: (6809 commits) ufs: sb mutex merge + mutex_destroy powerpc: update comments for generic idle conversion cris: update comments for generic idle conversion idle: remove cpu_idle() forward declarations nbd: zero from and len fields in NBD_CMD_DISCONNECT. mm: convert some level-less printks to pr_* MAINTAINERS: adi-buildroot-devel is moderated MAINTAINERS: add linux-api for review of API/ABI changes mm/kmemleak-test.c: use pr_fmt for logging fs/dlm/debug_fs.c: replace seq_printf by seq_puts fs/dlm/lockspace.c: convert simple_str to kstr fs/dlm/config.c: convert simple_str to kstr mm: mark remap_file_pages() syscall as deprecated mm: memcontrol: remove unnecessary memcg argument from soft limit functions mm: memcontrol: clean up memcg zoneinfo lookup mm/memblock.c: call kmemleak directly from memblock_(alloc|free) mm/mempool.c: update the kmemleak stack trace for mempool allocations lib/radix-tree.c: update the kmemleak stack trace for radix tree allocations mm: introduce kmemleak_update_trace() mm/kmemleak.c: use %u to print ->checksum ...
Diffstat (limited to 'net/core/dev.c')
-rw-r--r--net/core/dev.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/core/dev.c b/net/core/dev.c
index fb8b0546485b..8908a68db449 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -1326,7 +1326,7 @@ static int __dev_close_many(struct list_head *head)
1326 * dev->stop() will invoke napi_disable() on all of it's 1326 * dev->stop() will invoke napi_disable() on all of it's
1327 * napi_struct instances on this device. 1327 * napi_struct instances on this device.
1328 */ 1328 */
1329 smp_mb__after_clear_bit(); /* Commit netif_running(). */ 1329 smp_mb__after_atomic(); /* Commit netif_running(). */
1330 } 1330 }
1331 1331
1332 dev_deactivate_many(head); 1332 dev_deactivate_many(head);
@@ -3356,7 +3356,7 @@ static void net_tx_action(struct softirq_action *h)
3356 3356
3357 root_lock = qdisc_lock(q); 3357 root_lock = qdisc_lock(q);
3358 if (spin_trylock(root_lock)) { 3358 if (spin_trylock(root_lock)) {
3359 smp_mb__before_clear_bit(); 3359 smp_mb__before_atomic();
3360 clear_bit(__QDISC_STATE_SCHED, 3360 clear_bit(__QDISC_STATE_SCHED,
3361 &q->state); 3361 &q->state);
3362 qdisc_run(q); 3362 qdisc_run(q);
@@ -3366,7 +3366,7 @@ static void net_tx_action(struct softirq_action *h)
3366 &q->state)) { 3366 &q->state)) {
3367 __netif_reschedule(q); 3367 __netif_reschedule(q);
3368 } else { 3368 } else {
3369 smp_mb__before_clear_bit(); 3369 smp_mb__before_atomic();
3370 clear_bit(__QDISC_STATE_SCHED, 3370 clear_bit(__QDISC_STATE_SCHED,
3371 &q->state); 3371 &q->state);
3372 } 3372 }
@@ -4258,7 +4258,7 @@ void __napi_complete(struct napi_struct *n)
4258 BUG_ON(n->gro_list); 4258 BUG_ON(n->gro_list);
4259 4259
4260 list_del(&n->poll_list); 4260 list_del(&n->poll_list);
4261 smp_mb__before_clear_bit(); 4261 smp_mb__before_atomic();
4262 clear_bit(NAPI_STATE_SCHED, &n->state); 4262 clear_bit(NAPI_STATE_SCHED, &n->state);
4263} 4263}
4264EXPORT_SYMBOL(__napi_complete); 4264EXPORT_SYMBOL(__napi_complete);