Marc Kleine-Budde
8df9ffb888
can: make use of preallocated can_ml_priv for per device struct can_dev_rcv_lists
...
This patch removes the old method of allocating the per device protocol
specific memory via a netdevice_notifier. This had the drawback, that
the allocation can fail, leading to a lot of null pointer checks in the
code. This also makes the live cycle management of this memory quite
complicated.
This patch switches from the allocating the struct can_dev_rcv_lists in
a NETDEV_REGISTER call to using the dev->ml_priv, which is allocated by
the driver since the previous patch.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Acked-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2019-09-04 13:29:15 +02:00
..
2019-09-04 13:29:15 +02:00
2019-08-22 10:47:41 +02:00
2019-07-17 09:55:43 -07:00
2019-07-28 12:44:14 +02:00
2019-07-15 20:18:40 -07:00
2019-09-03 12:54:19 -07:00
2019-07-13 15:42:44 -07:00
2019-08-27 14:23:31 -07:00
2019-08-13 12:15:18 +02:00
2019-08-13 12:15:18 +02:00
2019-08-13 12:15:18 +02:00
2019-08-13 12:15:18 +02:00
2019-07-29 08:56:26 -07:00
2019-08-31 13:32:30 -07:00
2019-07-25 15:37:04 +02:00
2019-07-19 17:13:56 -07:00
2019-08-26 15:31:29 -04:00
2019-08-15 15:18:05 +02:00
2019-08-10 15:25:47 -07:00
2019-07-18 09:12:34 -07:00
2019-07-16 19:23:22 -07:00
2019-08-15 11:09:16 -06:00
2019-07-16 10:06:39 -06:00
2019-07-29 13:50:48 -07:00
2019-07-29 13:50:48 -07:00
2019-07-30 14:21:32 -07:00
2019-08-09 09:17:05 -07:00
2019-07-15 11:03:02 -03:00
2019-07-15 21:20:52 -07:00
2019-07-22 14:32:20 -07:00
2019-07-16 19:23:23 -07:00
2019-07-16 19:23:24 -07:00
2019-07-18 21:01:06 +02:00
2019-07-18 21:01:06 +02:00
2019-07-21 13:31:14 -07:00
2019-07-18 09:49:30 +02:00
2019-07-24 10:12:09 -07:00
2019-07-19 10:42:02 -07:00
2019-07-18 14:49:33 -07:00
2019-07-27 08:25:51 -07:00
2019-07-25 11:34:39 -07:00
2019-07-15 19:04:27 -07:00
2019-08-21 07:14:10 +09:00
2019-07-16 22:15:46 +02:00
2019-07-23 17:43:58 +02:00
2019-08-10 19:52:45 +02:00
2019-07-17 09:55:43 -07:00
2019-07-23 07:25:09 -06:00
2019-07-23 13:59:33 -07:00
2019-07-19 10:42:02 -07:00
2019-07-16 22:52:37 -04:00
2019-07-30 13:16:57 -06:00
2019-08-13 16:06:52 -07:00
2019-08-14 10:57:18 +02:00
2019-07-25 16:14:39 -03:00
2019-07-18 17:08:06 -07:00
2019-07-15 11:03:02 -03:00
2019-08-22 00:25:12 -07:00
2019-07-29 16:40:22 +02:00
2019-07-30 14:42:13 -07:00
2019-07-26 14:20:06 -07:00
2019-07-15 11:42:31 +02:00
2019-07-16 19:23:22 -07:00
2019-07-17 07:21:02 -07:00
2019-07-14 19:42:11 -07:00
2019-07-23 09:51:00 +02:00
2019-07-16 19:23:21 -07:00
2019-08-19 09:43:57 -07:00
2019-07-16 19:23:22 -07:00
2019-08-05 12:55:49 +02:00
2019-07-15 08:53:27 -03:00
2019-08-13 14:54:24 +08:00
2019-07-16 19:23:24 -07:00
2019-08-13 16:06:52 -07:00
2019-07-18 17:08:07 -07:00
2019-07-18 17:08:07 -07:00
2019-08-13 16:06:52 -07:00
2019-07-18 17:08:07 -07:00
2019-08-13 16:06:52 -07:00
2019-07-18 17:08:07 -07:00
2019-08-30 18:00:50 -07:00
2019-07-25 20:12:38 +03:00
2019-07-15 08:53:27 -03:00
2019-08-24 14:23:35 -07:00
2019-07-18 15:50:28 -04:00
2019-07-18 17:08:06 -07:00
2019-07-26 17:01:29 -06:00
2019-08-03 07:02:01 -07:00
2019-08-01 06:39:33 +02:00
2019-07-17 09:55:43 -07:00
2019-08-12 10:47:55 +02:00
2019-07-16 19:23:25 -07:00
2019-09-02 11:20:17 -07:00
2019-07-16 19:23:24 -07:00
2019-07-15 11:03:02 -03:00
2019-07-15 20:44:49 -07:00
2019-07-16 19:23:22 -07:00
2019-07-15 21:06:15 -07:00
2019-07-16 19:23:22 -07:00
2019-07-16 19:23:22 -07:00
2019-07-15 08:53:27 -03:00
2019-07-25 15:37:05 +02:00
2019-07-15 11:03:03 -03:00
2019-08-19 06:34:13 -05:00
2019-08-19 11:54:03 -07:00
2019-07-22 16:04:17 +02:00
2019-08-08 22:39:35 -07:00
2019-08-27 21:59:38 -07:00
2019-07-16 19:23:21 -07:00
2019-07-19 10:42:02 -07:00
2019-07-18 17:08:07 -07:00
2019-08-23 02:12:11 +02:00
2019-08-31 06:51:49 -04:00
2019-07-16 19:23:24 -07:00
2019-08-15 15:18:05 +02:00
2019-07-30 15:00:00 -07:00
2019-07-18 10:20:13 -06:00
2019-07-14 16:51:47 -07:00