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]
Message-ID: <1447713039.22599.78.camel@edumazet-glaptop2.roam.corp.google.com>
Date:	Mon, 16 Nov 2015 14:30:39 -0800
From:	Eric Dumazet <eric.dumazet@...il.com>
To:	Hannes Frederic Sowa <hannes@...essinduktion.org>
Cc:	David Miller <davem@...emloft.net>, netdev@...r.kernel.org
Subject: Re: [PATCH net] rtnetlink: fix frame size warning in
 rtnl_fill_ifinfo

On Mon, 2015-11-16 at 23:18 +0100, Hannes Frederic Sowa wrote:
> > need something that handles all cases properly.
> 
> I just wanted to shut up the gcc warning which is added if a function
> uses more than 2048 bytes of stack space. We normally don't have the
> problem and could also divide the function into two, but I don't see a
> general solution to the problem. Mostly they need to be custom tailored
> to the specific usage.
> 
> I can have a look if we can use kmalloc based storage for the stats, but
> this also means that we add another NULL pointer check and error
> handling for those cases. Let me have a look!

Simply put the code different functions with noinline_for_stack


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ