Quantcast
Channel: lkml.org : Ganesh Sittampalam
Viewing all articles
Browse latest Browse all 627

Re: [PATCH 20/20] signal: Don't restart fork when signals come in.

$
0
0
Linus Torvalds writes: (Summary) and here you return with the list entry still there, pointing to the stack that you now no longer use.
the stack that you now no longer use.
The same is true of *all* the error cases, because the only point you remove it is for the success case:
remove it is for the success case:

[...]

+ hlist_del(&delayed.node); Guaranteed stack and list corruption.
Guaranteed stack and list corruption.
Linus
Linus
Linus

Viewing all articles
Browse latest Browse all 627

Trending Articles