Files
erofs-linux/net
Breno Leitao c56dbb469f tipc: convert to getsockopt_iter
Convert TIPC sockets (msg, packet, stream proto_ops) to use the new
getsockopt_iter callback with sockopt_t.

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

The sockopt_t parameter is named sopt to avoid collision with the
existing optname parameter named opt.

Note: Dropped the unnecessary parentheses to make checkpatch happier.
Also dropped two now-stale comments that referred to the old "res"
variable handling.

Acked-by: Stanislav Fomichev <[email protected]>
Signed-off-by: Breno Leitao <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
2026-05-22 11:11:10 -07:00
..
…
…
2026-05-22 11:11:09 -07:00
…
…
…
2026-05-21 13:04:42 +02:00
…
2026-05-22 11:11:09 -07:00
2026-05-10 10:11:08 -07:00
…
…
2026-05-10 10:11:07 -07:00
…
…
…
…
…
2026-05-22 11:11:10 -07:00
2026-05-22 11:11:10 -07:00
2026-05-10 10:11:08 -07:00
2026-05-22 11:11:09 -07:00
…
…
…
…
…