Re: [RFC][-rc9 PATCH] Bluetooth: fix oops in rfcomm

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Dave Young
Date: Sunday, July 13, 2008 - 7:41 pm

On Mon, Jul 14, 2008 at 1:23 AM, Vegard Nossum <vegard.nossum@gmail.com> wrote:

It looks good, I agree with your change.


        if (IS_ERR(dev->tty_dev)) {
                err = PTR_ERR(dev->tty_dev);
                list_del(&dev->list);
                kfree(dev);
                return err;
        }

The list_del need to be protected as well.




-- 
Regards
dave
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC][-rc9 PATCH] Bluetooth: fix oops in rfcomm, Vegard Nossum, (Sun Jul 13, 10:23 am)
Re: [RFC][-rc9 PATCH] Bluetooth: fix oops in rfcomm, Dave Young, (Sun Jul 13, 7:41 pm)
Re: [RFC][-rc9 PATCH] Bluetooth: fix oops in rfcomm, Vegard Nossum, (Sun Jul 13, 11:23 pm)
Re: [RFC][-rc9 PATCH] Bluetooth: fix oops in rfcomm, Dave Young, (Mon Jul 14, 12:06 am)