aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSteffen Klassert <steffen.klassert@secunet.com>2021-06-07 15:21:49 +0200
committerSteffen Klassert <steffen.klassert@secunet.com>2021-06-14 11:58:43 +0200
commit6fd06963fa74197103cdbb4b494763127b3f2f34 (patch)
tree1585d150c7ac714ff5c46a430f7294a07c56ab83 /tools/perf/scripts/python/export-to-postgresql.py
parentxfrm: remove the fragment check for ipv6 beet mode (diff)
downloadlinux-dev-6fd06963fa74197103cdbb4b494763127b3f2f34.tar.xz
linux-dev-6fd06963fa74197103cdbb4b494763127b3f2f34.zip
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 <tobias@strongswan.org> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions