diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2011-05-17 13:56:59 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-06-03 09:31:53 +0900 |
commit | 6fcd74f9528a56d6247454cf5cdc94706dddbb75 (patch) | |
tree | f9317ca95512089c67ca535f181ca7108649ecad /lib/cpu-notifier-error-inject.c | |
parent | 6406426e95eea9ccfcc8b15ac6613c8af438cffe (diff) |
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 <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions