aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorBrian Silverman <[email protected]>2022-01-05 16:29:50 -0800
committerMarc Kleine-Budde <[email protected]>2022-01-09 13:32:28 +0100
commit89d58aebe14a365c25ba6645414afdbf4e41cea4 (patch)
tree6094e6e5c3cc7043256e47bd3a805f9959f5b8f5 /net/lapb/lapb_in.c
parent72b1e360572f9fa7d08ee554f1da29abce23f288 (diff)
can: gs_usb: gs_can_start_xmit(): zero-initialize hf->{flags,reserved}
No information is deliberately sent in hf->flags in host -> device communications, but the open-source candleLight firmware echoes it back, which can result in the GS_CAN_FLAG_OVERFLOW flag being set and generating spurious ERRORFRAMEs. While there also initialize the reserved member with 0. Fixes: d08e973a77d1 ("can: gs_usb: Added support for the GS_USB CAN devices") Link: https://lore.kernel.org/all/[email protected] Link: https://github.com/candle-usb/candleLight_fw/issues/87 Cc: [email protected] Signed-off-by: Brian Silverman <[email protected]> [mkl: initialize the reserved member, too] Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions