Don't kfree_skb() after submitting the repurposed SKB
authornorly <ny-git@enpas.org>
Sat, 18 Jun 2022 01:18:21 +0000 (03:18 +0200)
committernorly <ny-git@enpas.org>
Sat, 18 Jun 2022 01:19:08 +0000 (03:19 +0200)
commite1a93edd065ef8888d3043283628bb77a06d5c96
tree048851959518f5ee327633cbbaf5c93cbcfb7c73
parent60fb3f509f29f1233bdf8c3e921875616375e340
Don't kfree_skb() after submitting the repurposed SKB

If can327 locks up your machine, but only in very specific situations,
this is probably why. The memory leak fix went too far, and I missed
the call to can327_feed_frame_to_netdev() before a return -ENODATA.

Fixes: 37111be717212b8c7779978c0385393c2d51747d
module/can327.c