aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorBreno Leitao <[email protected]>2023-10-16 06:47:42 -0700
committerJens Axboe <[email protected]>2023-10-19 16:41:37 -0600
commit0b05b0cd78c92371fdde6333d006f39eaf9e0860 (patch)
tree47f27adbfa440cc83bdc820a382ff514247966cd /rust/helpers/helpers.c
parent1406245c29454ff84919736be83e14cdaba7fec1 (diff)
net/socket: Break down __sys_getsockopt
Split __sys_getsockopt() into two functions by removing the core logic into a sub-function (do_sock_getsockopt()). This will avoid code duplication when doing the same operation in other callers, for instance. do_sock_getsockopt() will be called by io_uring getsockopt() command operation in the following patch. The same was done for the setsockopt pair. Suggested-by: Martin KaFai Lau <[email protected]> Signed-off-by: Breno Leitao <[email protected]> Acked-by: Jakub Kicinski <[email protected]> Acked-by: Martin KaFai Lau <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions