aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorDmitry Antipov <[email protected]>2024-11-05 12:48:23 +0300
committerMarc Kleine-Budde <[email protected]>2024-12-02 09:53:39 +0100
commita8c695005bfe6569acd73d777ca298ddddd66105 (patch)
tree210f7fcae0e176df1244efd52c9d1df16027d127 /drivers/fpga/fpga-mgr.c
parent30447a1bc0e066e492552b3e5ffeb63c1605dfe2 (diff)
can: j1939: j1939_session_new(): fix skb reference counting
Since j1939_session_skb_queue() does an extra skb_get() for each new skb, do the same for the initial one in j1939_session_new() to avoid refcount underflow. Reported-by: [email protected] Closes: https://syzkaller.appspot.com/bug?extid=d4e8dc385d9258220c31 Fixes: 9d71dd0c7009 ("can: add support of SAE J1939 protocol") Signed-off-by: Dmitry Antipov <[email protected]> Tested-by: Oleksij Rempel <[email protected]> Acked-by: Oleksij Rempel <[email protected]> Link: https://patch.msgid.link/[email protected] [mkl: clean up commit message] Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions