Re: [PATCH bpf-next 1/6] selftests/bpf: Use start_server in sockmap_ktls

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

 



On Fri, 2024-06-21 at 18:35 +0800, Geliang Tang wrote:
> From: Geliang Tang <tanggeliang@xxxxxxxxxx>
> 
> Include network_helpers.h in prog_tests/sockmap_ktls.c, use public network
> helper start_server() instead of the local defined function tcp_server().
> This can avoid duplicate code.
> 
> Signed-off-by: Geliang Tang <tanggeliang@xxxxxxxxxx>
> ---

Technically, this is not a one-for-one replacement, as start_server()
also does bind() and it's listen backlog is 1, not SOMAXCONN.
Looking at the original commit, the difference does not seem to matter.

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