diff options
author | Brenden Blanco <bblanco@plumgrid.com> | 2016-07-21 03:22:33 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-07-21 08:07:23 +0300 |
commit | cb7386d37eae20141cbc292a883e5e358cb5a929 (patch) | |
tree | 0354fdaaa1a67cd7ffeef329d85a83d63a37b68c /net | |
parent | f67fe5c80ba09edeca7f3d05800382cca89bc1d5 (diff) | |
download | linux-cb7386d37eae20141cbc292a883e5e358cb5a929.tar.xz |
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 'net')
0 files changed, 0 insertions, 0 deletions