]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3c178d44dbfa6a9ad8734c0a0705e1aa7c1790ab
tree0520eb8dff75cb27100818a47f7fa2bd612a6e96
parent6287fbc78205eefb265a472c4ae868338e276247
net: j1939: j1939_session_fresh_new(): fix missing initialization of skbcnt

This patch add the initialization of skbcnt, similar to:

    6287fbc78205 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: 877b9bba3266 ("can: add support of SAE J1939 protocol")
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
net/can/j1939/transport.c