mp_ring: avoid items offset difference between iflib and mp_ring
authorMatt Macy <mmacy@FreeBSD.org>
Thu, 3 Jan 2019 23:06:05 +0000 (23:06 +0000)
committerMatt Macy <mmacy@FreeBSD.org>
Thu, 3 Jan 2019 23:06:05 +0000 (23:06 +0000)
commit5881181d8c80609034204c128975fbbac77baaed
treebc0405abfdd34afa38dd3b60e19216263f133c1d
parent27e05a190218064b43e9106869c1ad9f036920b5
mp_ring: avoid items offset difference between iflib and mp_ring
on architectures without 64-bit atomics

Reported by: Augustin Cavalier <waddlesplash@gmail.com>
sys/net/mp_ring.c
sys/net/mp_ring.h