diff options
author | Matt Domsch <Matt_Domsch@dell.com> | 2007-01-26 00:57:18 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-01-26 13:51:01 -0800 |
commit | 496a0fc8c5572a626de41d56d7c7ed005a2c1b48 (patch) | |
tree | 28039f07573e7f935d1e7b9e3a9aa5354b91d233 /arch/ppc/platforms/sbc82xx.c | |
parent | 01f2073411e01777e3c6f45a4bf05ea76493f326 (diff) |
[PATCH] Fix race in efi variable delete code
Fix race when deleting an EFI variable and issuing another EFI command on
the same variable. The removal of the variable from the efivars_list
should be done in efivar_delete and not delayed until the kobject release.
Furthermore, remove the item from the list at module unload time, and use
list_for_each_entry_safe() rather than list_for_each_safe() for
readability.
Tested on ia64.
Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Signed-off-by: Matt Domsch <Matt_Domsch@dell.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/ppc/platforms/sbc82xx.c')
0 files changed, 0 insertions, 0 deletions