net: j1939: j1939_session_fresh_new(): fix missing initialization of skbcnt
authorMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 8 Oct 2020 21:23:10 +0000 (23:23 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 8 Oct 2020 21:28:09 +0000 (23:28 +0200)
commit13ba4c434422837d7c8c163f9c8d854e67bf3c99
tree0520eb8dff75cb27100818a47f7fa2bd612a6e96
parente009f95b1543e26606dca2f7e6e9f0f9174538e5
net: j1939: j1939_session_fresh_new(): fix missing initialization of skbcnt

This patch add the initialization of skbcnt, similar to:

    e009f95b1543 can: j1935: j1939_tp_tx_dat_new(): fix missing initialization of skbcnt

Let's play save and initialize this skbcnt as well.

Suggested-by: Jakub Kicinski <kuba@kernel.org>
Fixes: 9d71dd0c7009 ("can: add support of SAE J1939 protocol")
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
net/can/j1939/transport.c