Files
kernel_arpi/include/linux
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-08-15 15:18:05 +02:00
2019-08-15 11:09:16 -06:00
2019-07-18 09:49:30 +02:00
2019-07-23 13:59:33 -07:00
2019-08-19 09:43:57 -07:00
2019-07-26 17:01:29 -06:00
2019-08-12 10:47:55 +02:00
2019-08-15 15:18:05 +02:00
2019-07-18 10:20:13 -06:00