2024-03-08 14:17:09

by Willem de Bruijn

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

Juntong Deng 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: Willem de Bruijn <[email protected]>

Thanks for addressing the READ_ONCE/WRITE_ONCE.