aboutsummaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2018-01-16 19:30:14 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2018-01-18 09:32:54 +0100
commit8cb68751c115d176ec851ca56ecfbb411568c9e8 (patch)
tree08b081492436174f37a8fe3d3c9fa8c2f9e47a76 /firmware
parentbpf: fix cls_bpf on filter replace (diff)
downloadlinux-dev-8cb68751c115d176ec851ca56ecfbb411568c9e8.tar.xz
linux-dev-8cb68751c115d176ec851ca56ecfbb411568c9e8.zip
can: af_can: can_rcv(): replace WARN_ONCE by pr_warn_once
If an invalid CAN frame is received, from a driver or from a tun interface, a Kernel warning is generated. This patch replaces the WARN_ONCE by a simple pr_warn_once, so that a kernel, bootet with panic_on_warn, does not panic. A printk seems to be more appropriate here. Reported-by: syzbot+4386709c0c1284dca827@syzkaller.appspotmail.com Suggested-by: Dmitry Vyukov <dvyukov@google.com> Acked-by: Oliver Hartkopp <socketcan@hartkopp.net> Cc: linux-stable <stable@vger.kernel.org> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions