]> git.baikalelectronics.ru Git - kernel.git/commit
[NET]: Add memory barrrier to netif_poll_enable()
authorDavid S. Miller <davem@sunset.davemloft.net>
Fri, 29 Dec 2006 05:14:52 +0000 (21:14 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 31 Dec 2006 22:06:48 +0000 (14:06 -0800)
commit83110bb7ba9b3c67c0f51763ccc6c14935eef6d3
treef5b0f6b3af369fafafa75fd072b2ad093a95e445
parentb7374858e3eb40a4a9e8a454290fab1fe63aff1c
[NET]: Add memory barrrier to netif_poll_enable()

When a driver writer calls this, they generally expect that
all previous stores and modifications they've made will be
visible before netif_poll_enable() executes, so ensure this.

Noticed by Ben H.

Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h