lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Sun, 19 May 2019 18:26:00 +0300
From:   Gal Pressman <galpress@...zon.com>
To:     Stephen Hemminger <stephen@...workplumber.org>
CC:     <netdev@...r.kernel.org>, Leon Romanovsky <leon@...nel.org>
Subject: Re: [PATCH iproute2] rdma: Update node type strings

On 15/05/2019 9:58, Gal Pressman wrote:
> Fix typo in usnic_udp node type and add a string for the unspecified
> node type.
> 
> Signed-off-by: Gal Pressman <galpress@...zon.com>
> ---
>  rdma/dev.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/rdma/dev.c b/rdma/dev.c
> index 339625202200..904836221c1b 100644
> --- a/rdma/dev.c
> +++ b/rdma/dev.c
> @@ -170,7 +170,8 @@ static const char *node_type_to_str(uint8_t node_type)
>  	static const char * const node_type_str[] = { "unknown", "ca",
>  						      "switch", "router",
>  						      "rnic", "usnic",
> -						      "usnic_dp" };
> +						      "usnic_udp",
> +						      "unspecified" };
>  	if (node_type < ARRAY_SIZE(node_type_str))
>  		return node_type_str[node_type];
>  	return "unknown";
> 

Sorry, forgot to add Stephen.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ