aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorSteffen Klassert <[email protected]>2021-06-07 15:21:49 +0200
committerSteffen Klassert <[email protected]>2021-06-14 11:58:43 +0200
commit6fd06963fa74197103cdbb4b494763127b3f2f34 (patch)
tree1585d150c7ac714ff5c46a430f7294a07c56ab83 /tools/perf/scripts/python/syscall-counts-by-pid.py
parenteebd49a4ffb420a991c606e54aa3c9f02857a334 (diff)
xfrm: Fix error reporting in xfrm_state_construct.
When memory allocation for XFRMA_ENCAP or XFRMA_COADDR fails, the error will not be reported because the -ENOMEM assignment to the err variable is overwritten before. Fix this by moving these two in front of the function so that memory allocation failures will be reported. Reported-by: Tobias Brunner <[email protected]> Signed-off-by: Steffen Klassert <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions