summaryrefslogtreecommitdiffstats
path: root/sound/firewire/fcp.h
diff options
context:
space:
mode:
authorMagnus Karlsson <magnus.karlsson@intel.com>2019-02-08 14:13:50 +0100
committerAlexei Starovoitov <ast@kernel.org>2019-02-10 20:07:17 -0800
commite6762c8bcf982821935a2b1cb33cf8335d0eefae (patch)
treefd8e52fbe9a4f960fb15bd9862492628f28ff413 /sound/firewire/fcp.h
parentb90efd2258749e04e1b3f71ef0d716f2ac2337e0 (diff)
downloadtalos-obmc-linux-e6762c8bcf982821935a2b1cb33cf8335d0eefae.tar.gz
talos-obmc-linux-e6762c8bcf982821935a2b1cb33cf8335d0eefae.zip
xsk: add missing smp_rmb() in xsk_mmap
All the setup code in AF_XDP is protected by a mutex with the exception of the mmap code that cannot use it. To make sure that a process banging on the mmap call at the same time as another process is setting up the socket, smp_wmb() calls were added in the umem registration code and the queue creation code, so that the published structures that xsk_mmap needs would be consistent. However, the corresponding smp_rmb() calls were not added to the xsk_mmap code. This patch adds these calls. Fixes: 37b076933a8e3 ("xsk: add missing write- and data-dependency barrier") Fixes: c0c77d8fb787c ("xsk: add user memory registration support sockopt") Signed-off-by: Magnus Karlsson <magnus.karlsson@intel.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'sound/firewire/fcp.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud