diff options
| author | Juntong Deng <[email protected]> | 2024-03-08 13:06:36 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-03-11 22:52:05 +0000 |
| commit | 76839e2f1fded42382ac7bad215cd9e9c293e97d (patch) | |
| tree | d943720ab7258ab3a0cee0ebbe38fbcc3f3e0358 /drivers/net/ethernet/intel/ice/ice_main.c | |
| parent | net/netlink: Add getsockopt support for NETLINK_LISTEN_ALL_NSID (diff) | |
| download | kernel-76839e2f1fded42382ac7bad215cd9e9c293e97d.tar.gz kernel-76839e2f1fded42382ac7bad215cd9e9c293e97d.zip | |
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 <[email protected]>
Reviewed-by: Willem de Bruijn <[email protected]>
Reviewed-by: Jason Xing <[email protected]>
Link: https://lore.kernel.org/r/AM6PR03MB58487A9704FD150CF76F542899272@AM6PR03MB5848.eurprd03.prod.outlook.com
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions
