Files
linux/net
Arnd Bergmann ebca65c2f6 caif: reduce stack size with KASAN
commit ce6289661b upstream.

When CONFIG_KASAN is set, we can use relatively large amounts of kernel
stack space:

net/caif/cfctrl.c:555:1: warning: the frame size of 1600 bytes is larger than 1280 bytes [-Wframe-larger-than=]

This adds convenience wrappers around cfpkt_extr_head(), which is responsible
for most of the stack growth. With those wrapper functions, gcc apparently
starts reusing the stack slots for each instance, thus avoiding the
problem.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-05-15 12:38:05 +09:00
..
2015-03-02 16:43:41 -05:00
2023-05-15 11:43:44 +09:00
2023-05-15 12:38:05 +09:00
2016-05-29 22:33:25 -07:00
2023-05-15 09:57:35 +09:00
2016-10-20 11:23:08 -04:00
2023-05-15 11:16:19 +09:00
2023-05-15 12:05:35 +09:00
2023-05-15 12:36:06 +09:00
2018-05-16 11:39:34 +02:00
2023-05-15 11:55:21 +09:00
2023-05-15 10:49:15 +09:00
2016-08-17 19:36:23 -04:00
2023-05-15 09:14:58 +09:00