diff options
author | Oleksij Rempel <[email protected]> | 2020-08-07 12:51:59 +0200 |
---|---|---|
committer | Marc Kleine-Budde <[email protected]> | 2020-08-14 12:38:47 +0200 |
commit | 840835c9281215341d84966a8855f267a971e6a3 (patch) | |
tree | a2e6c95d36ae1f2839703d737a202c161b07cb5f /scripts/gdb/linux/modules.py | |
parent | af804b7826350d5af728dca4715e473338fbd7e5 (diff) |
can: j1939: transport: add j1939_session_skb_find_by_offset() function
Sometimes it makes no sense to search the skb by pkt.dpo, since we need
next the skb within the transaction block. This may happen if we have an
ETP session with CTS set to less than 255 packets.
After this patch, we will be able to work with ETP sessions where the
block size (ETP.CM_CTS byte 2) is less than 255 packets.
Reported-by: Henrique Figueira <[email protected]>
Reported-by: https://github.com/linux-can/can-utils/issues/228
Fixes: 9d71dd0c7009 ("can: add support of SAE J1939 protocol")
Signed-off-by: Oleksij Rempel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions