linux/net/atm
Breno Leitao 4177767daf atm: convert to getsockopt_iter
Convert the ATM SVC and PVC sockets, along with the shared
vcc_getsockopt() helper, to use the new getsockopt_iter callback with
sockopt_t.

Key changes:
- Replace (char __user *optval, int __user *optlen) with sockopt_t *opt
- Use opt->optlen for buffer length (input)
- Use copy_to_iter() instead of put_user()/copy_to_user()

Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Signed-off-by: Breno Leitao <leitao@debian.org>
Link: https://patch.msgid.link/20260520-getsock_four-v3-2-b8c0b16b7780@debian.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2026-05-22 11:11:09 -07:00
..
addr.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
addr.h
atm_misc.c
atm_sysfs.c net: atm: Remove redundant check. 2023-10-23 08:45:25 +01:00
br2684.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
common.c atm: convert to getsockopt_iter 2026-05-22 11:11:09 -07:00
common.h atm: convert to getsockopt_iter 2026-05-22 11:11:09 -07:00
ioctl.c net: remove unused ATM protocols and legacy ATM device drivers 2026-04-23 12:21:14 -07:00
Kconfig net: remove unused ATM protocols and legacy ATM device drivers 2026-04-23 12:21:14 -07:00
Makefile net: remove unused ATM protocols and legacy ATM device drivers 2026-04-23 12:21:14 -07:00
pppoatm.c ppp: simplify input error handling 2026-03-09 19:07:38 -07:00
proc.c net: remove unused ATM protocols and legacy ATM device drivers 2026-04-23 12:21:14 -07:00
protocols.h
pvc.c atm: convert to getsockopt_iter 2026-05-22 11:11:09 -07:00
raw.c atm: Revert atm_account_tx() if copy_from_iter_full() fails. 2025-06-17 18:42:44 -07:00
resources.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
resources.h atm: lift copyin from atm_dev_ioctl() 2020-05-20 20:31:35 -04:00
signaling.c net: atm: fix skb leak in sigd_send() default branch 2026-05-12 18:07:02 -07:00
signaling.h
svc.c atm: convert to getsockopt_iter 2026-05-22 11:11:09 -07:00