diff options
| author | Anton Blanchard <anton@samba.org> | 2003-07-29 08:24:10 -0700 |
|---|---|---|
| committer | Anton Blanchard <anton@samba.org> | 2003-07-29 08:24:10 -0700 |
| commit | 9dcdb6ef5ffb7156e90a248d4738c7caf9e9c4fa (patch) | |
| tree | 9843570d3b2eabf001480bd8755a375e3c79c296 /include/linux | |
| parent | 395ab5d666da3eff3b34572d658412ce28f6ad7f (diff) | |
[NET]: Add missing memory barriors for __LINK_STATE_RX_SCHED handling.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/netdevice.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index c28c63ea442d..ba588acb49bd 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -820,6 +820,7 @@ static inline void netif_rx_complete(struct net_device *dev) local_irq_save(flags); if (!test_bit(__LINK_STATE_RX_SCHED, &dev->state)) BUG(); list_del(&dev->poll_list); + smp_mb__before_clear_bit(); clear_bit(__LINK_STATE_RX_SCHED, &dev->state); local_irq_restore(flags); } |
