Thread (13 messages) 13 messages, 5 authors, 2018-01-17

Re: WARNING in can_rcv

From: Marc Kleine-Budde <mkl@pengutronix.de>
Date: 2018-01-16 18:44:33
Also in: linux-can, lkml

On 01/16/2018 07:11 PM, Dmitry Vyukov wrote:
quoted
quoted
Kernel panic - not syncing: panic_on_warn set ...
Invalid packages generate a warning (WARN_ONCE()), and you have
panic_on_warn active. Should we better silently drop these CAN packages?
pr_warn_once() will be more appropriate. It prints a single line.
Thanks - just posted the patches, will send a pull request to David
tomorrow.

regards,
Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help