commit | cb7386d37eae20141cbc292a883e5e358cb5a929 | [log] [tgz] |
---|---|---|
author | Brenden Blanco <bblanco@plumgrid.com> | Wed Jul 20 17:22:33 2016 -0700 |
committer | David S. Miller <davem@davemloft.net> | Wed Jul 20 22:07:23 2016 -0700 |
tree | 0354fdaaa1a67cd7ffeef329d85a83d63a37b68c | |
parent | f67fe5c80ba09edeca7f3d05800382cca89bc1d5 [diff] |
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>