diff options
| author | Marc Kleine-Budde <mkl@pengutronix.de> | 2020-12-21 23:34:50 +0300 |
|---|---|---|
| committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2021-01-27 12:01:47 +0300 |
| commit | e20b85c7eb2e91d9db166ac8b08eec61c0164e9b (patch) | |
| tree | ca0dfc9609e08f58209a7b6bb99d8a1df0967a81 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 561aa5b4ce223064ea655da899013bec5326ec45 (diff) | |
| download | linux-e20b85c7eb2e91d9db166ac8b08eec61c0164e9b.tar.xz | |
can: mcp251xfd: mcp251xfd_hw_rx_obj_to_skb(): don't copy data for RTR CAN frames in RX-path
In Classical CAN there are RTR frames. RTR frames have the RTR bit set, may
have a dlc != 0, but contain no data.
This patch changes the RX-path to no copy any data for RTR frames, so that the
data field in the CAN frame stays 0x0.
Link: https://lore.kernel.org/r/20210114153448.1506901-4-mkl@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
