aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/Context.c
diff options
context:
space:
mode:
authorPeter Lafreniere <[email protected]>2022-06-16 11:23:33 -0400
committerJakub Kicinski <[email protected]>2022-06-17 20:34:13 -0700
commitf0623340fd2cab724e3c54ac026d1414325f375d (patch)
tree1287dcc6e328ce477a410f9147c302c3b1682c96 /tools/perf/scripts/python/Perf-Trace-Util/Context.c
parentf691b4d87edfd3fb37ad589d38cf858f47c6e050 (diff)
ax25: use GFP_KERNEL in ax25_dev_device_up()
ax25_dev_device_up() is only called during device setup, which is done in user context. In addition, ax25_dev_device_up() unconditionally calls ax25_register_dev_sysctl(), which already allocates with GFP_KERNEL. Since it is allowed to sleep in this function, here we change ax25_dev_device_up() to use GFP_KERNEL to reduce unnecessary out-of-memory errors. Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Peter Lafreniere <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/Context.c')
0 files changed, 0 insertions, 0 deletions