From: Oliver Hartkopp Date: Mon, 26 Nov 2012 21:24:23 +0000 (+0100) Subject: can: bcm: initialize ifindex for timeouts without previous frame reception X-Git-Tag: v3.2.35~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a548ee1595d834f795f8c9688f516d48b0304ddf;p=pandora-kernel.git can: bcm: initialize ifindex for timeouts without previous frame reception commit 81b401100c01d2357031e874689f89bd788d13cd 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 Signed-off-by: Oliver Hartkopp Signed-off-by: Marc Kleine-Budde Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed