aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorBrenden Blanco <bblanco@plumgrid.com>2016-07-20 17:22:33 -0700
committerDavid S. Miller <davem@davemloft.net>2016-07-20 22:07:23 -0700
commitcb7386d37eae20141cbc292a883e5e358cb5a929 (patch)
tree0354fdaaa1a67cd7ffeef329d85a83d63a37b68c /kernel
parentMerge branch '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue (diff)
downloadlinux-dev-cb7386d37eae20141cbc292a883e5e358cb5a929.tar.xz
linux-dev-cb7386d37eae20141cbc292a883e5e358cb5a929.zip
net/mlx4_en: use READ_ONCE when freeing xdp_prog
For consistency, and in order to hint at the synchronous nature of the xdp_prog field, use READ_ONCE in the destroy path of the ring. All occurrences should now use either READ_ONCE or xchg. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions