Messages in this thread | | | Subject | Re: WARNING in can_rcv | From | Marc Kleine-Budde <> | Date | Tue, 16 Jan 2018 19:44:01 +0100 |
| |
On 01/16/2018 07:11 PM, Dmitry Vyukov wrote: >>> 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 |
[unhandled content-type:application/pgp-signature] | |