diff options
author | Andy Lutomirski <[email protected]> | 2016-10-31 08:11:43 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-11-01 07:39:17 +0100 |
commit | 405c0759712f57b680f66aee9c55cd06ad1cbdef (patch) | |
tree | 3a93cb428043131fd231b348dbe469be9dfadc30 /drivers/net/xen-netback/interface.c | |
parent | 0c183d92b20b5c84ca655b45ef57b3318b83eb9e (diff) |
fork: Add task stack refcounting sanity check and prevent premature task stack freeing
If something goes wrong with task stack refcounting and a stack
refcount hits zero too early, warn and leak it rather than
potentially freeing it early (and silently).
Signed-off-by: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Brian Gerst <[email protected]>
Cc: Denys Vlasenko <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Josh Poimboeuf <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/f29119c783a9680a4b4656e751b6123917ace94b.1477926663.git.luto@kernel.org
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions