This patches targeting RX path of J1939 stack. Most important changes in this patch set are: - implement early (E)TP rx filter. With this change we should be able to abort early if socket is using some advanced filter ant won't be able to receive transfer. - ignore bogus or unknown (E)TP control packets. As, usual, reviews and testing are welcome. Oleksij Rempel (16): j1939: transport: rename pending to active j1939: transport: limit amount of tx retries j1939: transport: use rxtimer to force session abort j1939: socket: simplify j1939_sk_queue_activate_next_locked j1939: transport: handle skb_clone() error in j1939_tp_txtimer() j1939: transport: remove j1939_fix_cb() j1939: implement early (E)TP rx filter j1939: transport: use j1939_tp_im_transmitter() where possible j1939: don't store msg_flags on the TX path j1939: transport: use addr instead of skbc in j1939_session_match() j1939: transport: do not abort session with different PGN j1939: transport: rework error handling on commands with wrong PGN j1939: transport: rename RTS current to active j1939: transport: use j1939_tp_im_receiver() to !j1939_tp_im_transmitter() j1939: transport: don't care about (E)TP commands less then 8 byte j1939: transport: ignore unknown commands. net/can/j1939/j1939-priv.h | 9 +- net/can/j1939/socket.c | 96 +++++++---- net/can/j1939/transport.c | 319 +++++++++++++++++++------------------ 3 files changed, 236 insertions(+), 188 deletions(-) -- 2.20.1