Files
twx-linux/net
Alexey Kuznetsov 67ce628f41 Fix ipv4 routing locking bug
[IPV4]: severe locking bug in fib_semantics.c

Found in 2.4 by Yixin Pan <yxpan@hotmail.com>.

> When I read fib_semantics.c of Linux-2.4.32, write_lock(&fib_info_lock) =
> is used in fib_release_info() instead of write_lock_bh(&fib_info_lock).  =
> Is the following case possible: a BH interrupts fib_release_info() while =
> holding the write lock, and calls ip_check_fib_default() which calls =
> read_lock(&fib_info_lock), and spin forever.

Signed-off-by: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-08-23 14:13:32 -07:00
..
2006-05-16 15:23:40 -07:00
2006-08-06 20:52:14 -07:00
2006-08-23 14:13:31 -07:00
2006-08-23 14:13:30 -07:00
2006-07-24 20:35:27 -07:00
2006-08-23 14:13:32 -07:00
2006-08-23 14:13:31 -07:00
2006-08-23 14:13:31 -07:00
2006-05-22 16:53:22 -07:00
2006-05-01 06:06:10 -04:00