linux-uconsole/net/can
Oliver Hartkopp f6a8d4ccb6 can: bcm: initialize ifindex for timeouts without previous frame reception
commit 81b401100c upstream.

Set in the rx_ifindex to pass the correct interface index in the case of a
message timeout detection. Usually the rx_ifindex value is set at receive
time. But when no CAN frame has been received the RX_TIMEOUT notification
did not contain a valid value.

Reported-by: Andre Naujoks <nautsch2@googlemail.com>
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-12-03 12:59:14 -08:00
..
af_can.c can: rename can_try_module_get to can_get_proto 2011-05-04 14:08:37 -07:00
af_can.h can: Speed up CAN frame receiption by using ml_priv 2010-01-03 21:31:03 -08:00
bcm.c can: bcm: initialize ifindex for timeouts without previous frame reception 2012-12-03 12:59:14 -08:00
Kconfig [CAN]: Add virtual CAN netdevice driver 2008-01-28 14:54:12 -08:00
Makefile Net: can: Makefile: Remove deprecated kbuild goal definitions 2010-11-22 08:16:09 -08:00
proc.c can: convert to %pK for kptr_restrict support 2011-05-26 14:23:35 -04:00
raw.c can: make struct can_proto const 2011-05-04 14:08:36 -07:00