Files
linux/include/uapi/linux
Marc Kleine-Budde 083021bdba 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-12-15 08:49:22 -08:00
..
2014-10-20 10:30:15 +08:00
2015-10-13 17:42:34 +02:00
2015-04-21 16:16:02 -04:00
2015-10-05 03:16:46 -07:00
2015-08-25 14:41:50 -05:00
2014-11-19 14:48:02 -06:00
2015-04-12 21:25:13 -04:00
2015-07-01 16:26:08 +02:00
2014-12-22 16:12:36 -05:00
2015-10-26 19:06:48 -07:00
2015-05-25 13:25:35 -04:00
2014-12-02 13:52:53 -07:00
2015-02-17 14:34:51 -08:00
2015-08-03 17:30:00 -07:00
2015-07-21 10:39:05 -07:00
2015-01-20 13:51:06 +01:00
2014-12-13 12:42:52 -08:00
2015-05-05 13:40:44 -06:00
2015-02-02 18:46:51 -08:00
2015-08-27 19:44:53 -04:00
2015-04-23 15:16:14 -04:00
2015-07-20 14:58:46 -04:00
2015-09-17 21:09:07 -07:00
2015-09-04 16:54:41 -07:00
2014-12-10 17:41:10 -08:00
2014-12-09 14:10:41 +08:00
2015-03-05 22:08:42 -05:00
2015-05-24 12:49:16 -07:00
2015-06-11 23:37:37 +02:00
2015-10-27 18:55:31 -07:00
2015-12-04 08:38:42 -07:00
2015-10-16 10:44:02 +02:00
2015-06-03 14:17:38 +02:00
2015-03-29 12:13:52 +10:30
2014-12-09 12:05:24 +02:00
2015-03-31 13:58:35 -04:00