Files
kernel_amazon_mt8127-common/include/uapi/linux
Marc Kleine-Budde cf79690020 can: raw: raw_setsockopt: limit number of can_filter that can be set
commit 332b05ca7a438f857c61a3c21a88489a21532364 upstream.

This patch adds a check to limit the number of can_filters that can be
set via setsockopt on CAN_RAW sockets. Otherwise allocations > MAX_ORDER
are not prevented resulting in a warning.

Reference: https://lkml.org/lkml/2016/12/2/230

Reported-by: Andrey Konovalov <andreyknvl@google.com>
Tested-by: Andrey Konovalov <andreyknvl@google.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Willy Tarreau <w@1wt.eu>
2017-06-20 08:03:01 +02:00
..
2013-04-26 16:08:16 +10:00
2013-05-06 15:55:19 -04:00
2013-03-27 14:37:47 +00:00
2013-02-14 00:54:17 -05:00
2013-03-28 01:20:42 -04:00
2013-07-28 16:29:46 -07:00
2013-03-17 19:40:50 -07:00
2013-06-19 18:30:27 -07:00
2013-06-11 11:06:34 +03:00
2013-02-27 19:10:22 -08:00
2013-04-19 14:57:57 -04:00
2013-03-17 14:35:13 -04:00
2013-03-22 16:19:59 -07:00
2013-03-21 12:36:33 -04:00
2013-05-02 13:40:15 +03:00