2024-03-08 14:22:40

by Jason Xing

[permalink] [raw]
Subject: Re: [PATCH net-next v3] net/packet: Add getsockopt support for PACKET_COPY_THRESH

On Fri, Mar 8, 2024 at 9:08 PM Juntong Deng <[email protected]> wrote:
>
> 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 <[email protected]>

Reviewed-by: Jason Xing <[email protected]>