Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sit: use __GFP_NOWARN for user controlled allocation
The memory allocation size is controlled by user-space, if it is too large just fail silently and return NULL, not to mention there is a fallback allocation later. Reported-by: Andrey Konovalov <[email protected]> Signed-off-by: Cong Wang <[email protected]> Tested-by: Andrey Konovalov <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information