From: Eric Dumazet Date: Tue, 17 May 2011 17:56:59 +0000 (-0400) Subject: net: use hlist_del_rcu() in dev_change_name() X-Git-Tag: v2.6.39.1~113 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6fcd74f9528a56d6247454cf5cdc94706dddbb75;p=pandora-kernel.git net: use hlist_del_rcu() in dev_change_name() [ Upstream commit 372b2312010bece1e36f577d6c99a6193ec54cbd ] Using plain hlist_del() in dev_change_name() is wrong since a concurrent reader can crash trying to dereference LIST_POISON1. Bug introduced in commit 72c9528bab94 (net: Introduce dev_get_by_name_rcu()) Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed