From: Thomas Gleixner Date: Tue, 18 Mar 2014 17:19:12 +0000 (+0000) Subject: can: c_can: Provide protection in the xmit path X-Git-Tag: v3.15-rc1~113^2~2^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf88a20611d5a62119a02da4eba95b461ec692c8;p=pandora-kernel.git can: c_can: Provide protection in the xmit path The network core does not serialize the access to the hardware. The xmit related code lets the following happen: CPU0 CPU1 interrupt() do_poll() c_can_do_tx() Fiddle with HW and xmit() internal data Fiddle with HW and internal data due the complete lack of serialization. Add proper locking. Signed-off-by: Thomas Gleixner Signed-off-by: Marc Kleine-Budde --- Reading git-diff-tree failed