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] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 2 Feb 2022 20:55:08 -0700
From:   David Ahern <dsahern@...il.com>
To:     Eric Dumazet <eric.dumazet@...il.com>,
        Stephen Hemminger <stephen@...workplumber.org>
Cc:     netdev <netdev@...r.kernel.org>,
        Eric Dumazet <edumazet@...gle.com>,
        Coco Li <lixiaoyan@...gle.com>
Subject: Re: [PATCH iproute2] iplink: add gro_max_size attribute handling

On 2/1/22 4:27 PM, Eric Dumazet wrote:
> diff --git a/ip/ipaddress.c b/ip/ipaddress.c
> index 4109d8bd2c43640bee40656c124ea6393d95a345..583c41a94a8ec964779c1e3a8305be80e43907e7 100644
> --- a/ip/ipaddress.c
> +++ b/ip/ipaddress.c
> @@ -904,6 +904,11 @@ static int print_linkinfo_brief(FILE *fp, const char *name,
>  						   ifi->ifi_type,
>  						   b1, sizeof(b1)));
>  		}
> +		if (tb[IFLA_GRO_MAX_SIZE])
> +			print_uint(PRINT_ANY,
> +				   "gro_max_size",
> +				   "gro_max_size %u ",
> +				   rta_getattr_u32(tb[IFLA_GRO_MAX_SIZE]));
>  	}
>  
>  	if (filter.family == AF_PACKET) {

gso_max_segs only shows in detail mode; this change prints it only for
brief mode.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ