commit | f058d548e8071a1d148d6ebd94888d011c3ca71e | [log] [tgz] |
---|---|---|
author | Thomas Gleixner <tglx@linutronix.de> | Fri Apr 11 08:13:12 2014 +0000 |
committer | Marc Kleine-Budde <mkl@pengutronix.de> | Thu Apr 24 22:08:56 2014 +0200 |
tree | 57640ef92b3896fc7801f0443cbbf441fdf17085 | |
parent | 9c64863a49bd23c5a3a983680eb500f7796c81be [diff] |
can: c_can: Handle state change correctly If the allocation of an error skb fails, the state change handling returns w/o doing any work. That leaves the interface in a wreckaged state as the internal status is wrong. Split the interface handling and the skb handling. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Tested-by: Alexander Stein <alexander.stein@systec-electronic.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>