summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorJuntong Deng <juntong.deng@outlook.com>2024-03-08 13:06:36 +0000
committerJakub Kicinski <kuba@kernel.org>2024-03-11 15:52:05 -0700
commit76839e2f1fded42382ac7bad215cd9e9c293e97d (patch)
treed943720ab7258ab3a0cee0ebbe38fbcc3f3e0358 /include/uapi
parent8b6d307f4391c20cfd76bbb15f8b3784d36e0755 (diff)
net/packet: Add getsockopt support for PACKET_COPY_THRESH
Currently getsockopt does not support PACKET_COPY_THRESH, and we are unable to get the value of PACKET_COPY_THRESH socket option through getsockopt. This patch adds getsockopt support for PACKET_COPY_THRESH. In addition, this patch converts access to copy_thresh to READ_ONCE/WRITE_ONCE. Signed-off-by: Juntong Deng <juntong.deng@outlook.com> Reviewed-by: Willem de Bruijn <willemb@google.com> Reviewed-by: Jason Xing <kerneljasonxing@gmail.com> Link: https://lore.kernel.org/r/AM6PR03MB58487A9704FD150CF76F542899272@AM6PR03MB5848.eurprd03.prod.outlook.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions