]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Bluetooth: ISO: convert to getsockopt_iter
authorBreno Leitao <leitao@debian.org>
Tue, 12 May 2026 11:12:18 +0000 (04:12 -0700)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 11 Jun 2026 18:24:38 +0000 (14:24 -0400)
commitbafa5552d646959e320b6376df884844742395bd
tree4507c2844ebc280d61c7b6ac8c5e4e7683cec947
parentad6cde306654504209f5602b00d6ceac681e29f2
Bluetooth: ISO: convert to getsockopt_iter

Convert ISO socket's getsockopt implementation 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) and returned size (output)
- Use copy_to_iter() instead of put_user()/copy_to_user()
- Add linux/uio.h for copy_to_iter()

Signed-off-by: Breno Leitao <leitao@debian.org>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
net/bluetooth/iso.c