Re: [PATCH bpf-next v5 3/6] selftests/bpf: Add client_socket helper

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2024-06-19 at 10:51 +0800, Geliang Tang wrote:
> From: Geliang Tang <tanggeliang@xxxxxxxxxx>
> 
> This patch extracts a new helper client_socket() from connect_to_fd_opts()
> to create the client socket, but don't connect to the server. Then
> connect_to_fd_opts() can be implemented using client_socket() and
> connect_fd_to_addr(). This helper can be used in connect_to_addr() too,
> and make "noconnect" opts useless.
> 
> Signed-off-by: Geliang Tang <tanggeliang@xxxxxxxxxx>
> ---

Acked-by: Eduard Zingerman <eddyz87@xxxxxxxxx>





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux