diff options
| author | Alexander Nyberg <[email protected]> | 2005-08-10 10:11:36 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2005-08-10 11:03:02 -0700 |
| commit | 22d0def9d09111513f5a8d38583210620f97d710 (patch) | |
| tree | b17c0fd6d98afc0af6920d18e096e7ab814189de /scripts/basic/split-include.c | |
| parent | c0438174e8272d23fe43a5d3f23d777f5b412e87 (diff) | |
[PATCH] ns558 list handling fix
Need to use list_for_entry_safe(), as we're removing items during the
traversal. list_for_each_entry() uses the first ptr also as an iterator, if
you kfree() it slab takes it, might poison it and then you try to use it to
iterate to the next object in list.
Cc: Vojtech Pavlik <[email protected]>
Cc: Dmitry Torokhov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions