Skip to content

mcp25xxfd: crash/bug when stopping/starting the can interface #7

@irrwisch1

Description

@irrwisch1

Hi,

I was having two issues when stoping/starting the can interface.

The first issue was that sometimes an interrupt came when the interface was already stopped, producing a kernel panic

The second issue was that the driver was sometimes getting confused with the TEF fifo after restarting, presumably because some structures weren't cleared when the interface was stopped.

I made the following changes (see the attached diff) and those seem to fix these issues for me, but you may want to review those changes.

mcp25xxfd_crash.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions