tmp_suning_uos_patched/net/can
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
..
af_can.c can: make use of preallocated can_ml_priv for per device struct can_dev_rcv_lists 2019-09-04 13:29:15 +02:00
af_can.h can: introduce CAN midlayer private and allocate it automatically 2019-09-04 13:29:14 +02:00
bcm.c can: bcm: switch timer to HRTIMER_MODE_SOFT and remove hrtimer_tasklet 2019-08-13 17:32:20 +02:00
gw.c can: gw: add support for CAN FD frames 2019-08-13 17:32:21 +02:00
Kconfig can: Kconfig: correct history of the CAN protocol 2019-07-24 10:31:55 +02:00
Makefile
proc.c can: introduce CAN midlayer private and allocate it automatically 2019-09-04 13:29:14 +02:00
raw.c can: raw: raw_sock_no_ioctlcmd(): mark function as static 2019-08-13 17:32:20 +02:00