Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d15a5020 authored by David S. Miller's avatar David S. Miller
Browse files

Merge tag 'linux-can-fixes-for-5.4-20191114' of...

Merge tag 'linux-can-fixes-for-5.4-20191114' of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can



Marc Kleine-Budde says:

====================
pull-request: can 2019-11-14

here another pull request for net/master consisting of one patch (including my S-o-b).

Jouni Hogander's patch fixes a memory leak found by the syzbot in the slcan
driver's error path.
====================

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parents bb9b5441 ed50e160
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -617,6 +617,7 @@ static int slcan_open(struct tty_struct *tty)
	sl->tty = NULL;
	tty->disc_data = NULL;
	clear_bit(SLF_INUSE, &sl->flags);
	free_netdev(sl->dev);

err_exit:
	rtnl_unlock();