]> git.baikalelectronics.ru Git - kernel.git/commit
xsk: Fix a documentation mistake in xsk_queue.h
authorCiara Loftus <ciara.loftus@intel.com>
Mon, 28 Sep 2020 08:23:44 +0000 (08:23 +0000)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 29 Sep 2020 18:25:56 +0000 (11:25 -0700)
commite7ce2c78d391727fc3faea582c95124a2dd57e7e
tree97c84dba242a77bb34a389c31aa25d327fb2968a
parentdf92efa681870f63cd63c8d9e8f327194000cc73
xsk: Fix a documentation mistake in xsk_queue.h

After 'peeking' the ring, the consumer, not the producer, reads the data.
Fix this mistake in the comments.

Fixes: 06b2203f239e ("xsk: Add function naming comments and reorder functions")
Signed-off-by: Ciara Loftus <ciara.loftus@intel.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Magnus Karlsson <magnus.karlsson@intel.com>
Link: https://lore.kernel.org/bpf/20200928082344.17110-1-ciara.loftus@intel.com
net/xdp/xsk_queue.h