Re: [PATCH] tty_io: fix race in master pty close/slave pty close path

From: Aristeu Sergio Rozanski Filho
Date: Thu Feb 22 2007 - 15:00:33 EST


> Would another possible trace look like this?
>
> idr_remove called for id=1 which is not allocated.
> [<c0403f10>] dump_trace+0x69/0x1af
> [<c040406e>] show_trace_log_lvl+0x18/0x2c
> [<c04045e9>] show_trace+0xf/0x11
> [<c0404673>] dump_stack+0x15/0x17
> [<c04d3fcb>] idr_remove+0xe2/0x143
> [<c051ee50>] release_dev+0x63b/0x652
> [<c051ee6e>] tty_release+0x7/0xa
> [<c0461b2e>] __fput+0xba/0x178
> [<c045f466>] filp_close+0x52/0x59
(snip)

> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=211429
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=227203
yeap, this patch may fix these too. Will build a test kernel with the
patch included and hand over to reporters to test.

--
Aristeu

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/