]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commite44c39bd8478bf9e41cbc611c74b5879a7b29f58
treef5b0f6b3af369fafafa75fd072b2ad093a95e445
parentbfff6e92a33dce6121a3d83ef3809e9063b2734e
[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