On Wed, Mar 07, 2018 at 08:26:14PM -0500, David Miller wrote:
> From: Laszlo Toth
> Date: Thu, 8 Mar 2018 01:19:53 +0100
>
> > Separated snmp_seq_show_tcp_udp() to tcp and udp variants,
> > so the usage of max_t() for the array size can be emitted.
> >
> > Signed-off-by: Laszlo Toth
>
> But it
From: Laszlo Toth
Date: Thu, 8 Mar 2018 01:19:53 +0100
> Separated snmp_seq_show_tcp_udp() to tcp and udp variants,
> so the usage of max_t() for the array size can be emitted.
>
> Signed-off-by: Laszlo Toth
But it's a max on a constant value, computed at compile
time.
I don't see at all why
Separated snmp_seq_show_tcp_udp() to tcp and udp variants,
so the usage of max_t() for the array size can be emitted.
Signed-off-by: Laszlo Toth
---
net/ipv4/proc.c | 24
1 file changed, 16 insertions(+), 8 deletions(-)
diff --git a/net/ipv4/proc.c b/net/ipv4/proc.c
ind