summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMatt Domsch <Matt_Domsch@dell.com>2007-01-26 08:57:18 (GMT)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-01-26 21:51:01 (GMT)
commit496a0fc8c5572a626de41d56d7c7ed005a2c1b48 (patch)
tree28039f07573e7f935d1e7b9e3a9aa5354b91d233 /include
parent01f2073411e01777e3c6f45a4bf05ea76493f326 (diff)
downloadlinux-fsl-qoriq-496a0fc8c5572a626de41d56d7c7ed005a2c1b48.tar.xz
[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 'include')
0 files changed, 0 insertions, 0 deletions