Skip to content

drivers: can: loopback driver only compares loopback frames against CAN IDs in installed filters #47904

@henrikbrixandersen

Description

@henrikbrixandersen

Describe the bug
The CAN loopback driver only compares loopback frames against CAN IDs in installed filters. It must also compare the CAN ID type (standard or extended) and the RTR bit.

To Reproduce
Steps to reproduce the behavior:

  1. See above along with the test suite accompanying the fix

Environment (please complete the following information):

Additional context
This was discovered while implementing and testing a fix for #47204.

Metadata

Metadata

Labels

area: CANbugThe issue is a bug, or the PR is fixing a bugpriority: lowLow impact/importance bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions