On Sun, 30 Mar 2003, Andrew Morton wrote:
> "Shawn Starr" <spstarr@sh0n.net> wrote:
> >
> > drivers/char/tty_io.c - Only
> >
> > I bet it's this function, there's only a kfree, not destruction of any
> > timers.
> >
>
> This is fairly foul.
>
> --- 25/drivers/char/tty_io.c~a 2003-03-30 15:12:37.000000000 -0800
> +++ 25-akpm/drivers/char/tty_io.c 2003-03-30 15:16:59.000000000 -0800
> @@ -1288,6 +1288,8 @@ static void release_dev(struct file * fi
> /*
> * Make sure that the tty's task queue isn't activated.
> */
> + clear_bit(TTY_DONT_FLIP, &tty->flags);
> + del_timer_sync(&tty->flip.work.timer);
> flush_scheduled_work();
>
> /*
>
> _
>
>
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/