aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorMarcelo Ricardo Leitner <[email protected]>2016-12-02 07:46:38 -0200
committerPablo Neira Ayuso <[email protected]>2016-12-07 13:31:41 +0100
commit5bad87348c70bb4d36e876523aade31e9dedd2fc (patch)
tree85979f9b3631a7cde6add79a502ba4e36a344071 /tools/perf/util/scripting-engines/trace-event-python.c
parent8411b6442e59810fe0750a2f321b9dcb7d0a3d17 (diff)
netfilter: x_tables: avoid warn and OOM killer on vmalloc call
Andrey Konovalov reported that this vmalloc call is based on an userspace request and that it's spewing traces, which may flood the logs and cause DoS if abused. Florian Westphal also mentioned that this call should not trigger OOM killer. This patch brings the vmalloc call in sync to kmalloc and disables the warn trace on allocation failure and also disable OOM killer invocation. Note, however, that under such stress situation, other places may trigger OOM killer invocation. Reported-by: Andrey Konovalov <[email protected]> Cc: Florian Westphal <[email protected]> Signed-off-by: Marcelo Ricardo Leitner <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions