From: Alexey Kuznetsov Date: Thu, 17 Aug 2006 23:44:46 +0000 (-0700) Subject: [IPV4]: severe locking bug in fib_semantics.c X-Git-Tag: v2.6.18-rc5~76^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e8fcbf64024f9056ba122abbb66554aa76bae5d;p=pandora-kernel.git [IPV4]: severe locking bug in fib_semantics.c Found in 2.4 by Yixin Pan . > 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed