diff --git a/drivers/net/slip/slip.c b/drivers/net/slip/slip.c index a5874059da9d86e27078bf11b4236746b20f87b0..77207f936871e510afceaee29926eb610450a16a 100644 --- a/drivers/net/slip/slip.c +++ b/drivers/net/slip/slip.c @@ -855,6 +855,7 @@ static int slip_open(struct tty_struct *tty) sl->tty = NULL; tty->disc_data = NULL; clear_bit(SLF_INUSE, &sl->flags); + sl_free_netdev(sl->dev); free_netdev(sl->dev); err_exit: